From 9b89e3d8d7cd97ebfac4825b2965da4f114a473d Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Wed, 13 Nov 2024 08:57:25 -0600 Subject: [PATCH] Update test --- test/Middleware/ExceptionHandlerMiddlewareTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Middleware/ExceptionHandlerMiddlewareTest.php b/test/Middleware/ExceptionHandlerMiddlewareTest.php index 13d26c08..f9ca4f3a 100644 --- a/test/Middleware/ExceptionHandlerMiddlewareTest.php +++ b/test/Middleware/ExceptionHandlerMiddlewareTest.php @@ -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);