Skip to content

Commit

Permalink
Fixed usage of expectDeprecationMessage (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-eugone authored May 30, 2023
1 parent fae7ee8 commit 88828a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Registry/JobContainerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function testGet(): void

public function testGetNotFound(): void
{
$this->expectDeprecationMessage('You have requested a non-existent job "bar".');
$this->expectExceptionMessage('You have requested a non-existent job "bar".');
$this->expectException(NotFoundExceptionInterface::class);
$foo = $this->prophesize(JobInterface::class)->reveal();
$container = new JobContainer(['foo' => $foo]);
Expand Down

0 comments on commit 88828a4

Please sign in to comment.