Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Nov 13, 2024
1 parent f9f7e41 commit 9b89e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Middleware/ExceptionHandlerMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function testUncaughtException(): void
$exceptionHandler = $this->createMock(ExceptionHandler::class);
$exceptionHandler->expects(self::once())
->method('handleException')
->with($exception)
->with(self::isInstanceOf(Request::class), $exception)
->willReturn(new Response(HttpStatus::INTERNAL_SERVER_ERROR));

$this->setupAndInvokeMiddleware($exceptionHandler, $exception);
Expand Down

0 comments on commit 9b89e3d

Please sign in to comment.