Skip to content

Commit

Permalink
Use MAIN_REQUEST
Browse files Browse the repository at this point in the history
  • Loading branch information
scheb committed Nov 1, 2023
1 parent 5bd6698 commit 0cb9fc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Security/Http/Firewall/ExceptionListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
Expand Down

0 comments on commit 0cb9fc1

Please sign in to comment.