Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
othillo committed Jun 4, 2021
1 parent dbaacb8 commit 5cb34d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/EventListener/ToggleListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ protected function createRequest()

protected function getControllerEvent($controller, Request $request)
{
$mockKernel = $this->getMockForAbstractClass('Symfony\Component\HttpKernel\Kernel', ['', '']);
$mockKernel = $this->getMockForAbstractClass('Symfony\Component\HttpKernel\Kernel', ['test', '']);

return new ControllerEvent($mockKernel, $controller, $request, HttpKernelInterface::MASTER_REQUEST);
}
Expand Down

0 comments on commit 5cb34d6

Please sign in to comment.