diff --git a/tests/Security/Http/Firewall/ExceptionListenerTest.php b/tests/Security/Http/Firewall/ExceptionListenerTest.php index 61b45460..be6c4a89 100644 --- a/tests/Security/Http/Firewall/ExceptionListenerTest.php +++ b/tests/Security/Http/Firewall/ExceptionListenerTest.php @@ -91,7 +91,7 @@ private function createExceptionEvent(Throwable $exception): ExceptionEvent return new ExceptionEvent( $this->createMock(HttpKernelInterface::class), $this->request, - HttpKernelInterface::MASTER_REQUEST, + HttpKernelInterface::MAIN_REQUEST, $exception ); } diff --git a/tests/Security/TwoFactor/Trusted/TrustedCookieResponseListenerTest.php b/tests/Security/TwoFactor/Trusted/TrustedCookieResponseListenerTest.php index e5ee5019..efd77475 100644 --- a/tests/Security/TwoFactor/Trusted/TrustedCookieResponseListenerTest.php +++ b/tests/Security/TwoFactor/Trusted/TrustedCookieResponseListenerTest.php @@ -57,7 +57,7 @@ private function createEventWithRequest(Request $request): ResponseEvent return new ResponseEvent( $this->createMock(HttpKernelInterface::class), $request, - HttpKernelInterface::MASTER_REQUEST, + HttpKernelInterface::MAIN_REQUEST, $this->response ); }