Skip to content

Commit

Permalink
improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fenric committed Oct 24, 2021
1 parent 63f4530 commit 884550c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ResponseFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function testCreateJsonResponse() : void
*/
public function testCreateResponseWithInvalidJson() : void
{
$this->expectException(\JsonException::class);
$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessage('Maximum stack depth exceeded');

$response = (new ResponseFactory)
Expand Down

0 comments on commit 884550c

Please sign in to comment.