Skip to content

Commit

Permalink
Update tests/unit/PackageTest.php
Browse files Browse the repository at this point in the history
Co-authored-by: Thorsten Frommen <[email protected]>
Signed-off-by: Christian Leucht <[email protected]>
  • Loading branch information
Chrico and tfrommen authored Jan 28, 2025
1 parent 6eecb46 commit 81f58ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/PackageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1465,8 +1465,8 @@ function (\Throwable $throwable) use ($package): void {
->whenHappen(
function (\Throwable $throwable) use ($exception, $package): void {
$this->assertThrowableMessageMatches($throwable, 'boot application');
/** @var \Throwable $previous */
$previous = $throwable->getPrevious();
static::assertTrue($previous instanceof \Throwable);
$this->assertThrowableMessageMatches($previous, 'build package');
/** @var \Throwable $previous */
$previous = $previous->getPrevious();
Expand Down

0 comments on commit 81f58ff

Please sign in to comment.