Skip to content

Commit 88828a4

Browse files
authored
Fixed usage of expectDeprecationMessage (#73)
1 parent fae7ee8 commit 88828a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Registry/JobContainerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function testGet(): void
2525

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

0 commit comments

Comments
 (0)