We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c89490 commit bb81f79Copy full SHA for bb81f79
tests/symfony/tests/JobAssert.php
@@ -11,7 +11,10 @@ final class JobAssert
11
{
12
public static function assertIsSuccessful(JobExecution $execution): void
13
14
- Assert::assertTrue($execution->getStatus()->isSuccessful());
+ Assert::assertTrue(
15
+ $execution->getStatus()->isSuccessful(),
16
+ 'Failed asserting the job succeed. Failure:' . PHP_EOL . ($execution->getAllFailures()[0] ?? null),
17
+ );
18
}
19
20
public static function assertItemJobStats(
0 commit comments