[Security] Fix tests
This commit is contained in:
parent
e1917509e4
commit
e04386c187
|
@ -173,8 +173,8 @@ class UsernamePasswordFormAuthenticationListenerTest extends TestCase
|
|||
new DefaultAuthenticationFailureHandler($this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock(), $httpUtils),
|
||||
['require_previous_session' => false, 'post_only' => $postOnly]
|
||||
);
|
||||
$event = new GetResponseEvent($this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock(), $request, HttpKernelInterface::MASTER_REQUEST);
|
||||
$listener->handle($event);
|
||||
$event = new RequestEvent($this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock(), $request, HttpKernelInterface::MASTER_REQUEST);
|
||||
$listener($event);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in New Issue