[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),
|
new DefaultAuthenticationFailureHandler($this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock(), $httpUtils),
|
||||||
['require_previous_session' => false, 'post_only' => $postOnly]
|
['require_previous_session' => false, 'post_only' => $postOnly]
|
||||||
);
|
);
|
||||||
$event = new GetResponseEvent($this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock(), $request, HttpKernelInterface::MASTER_REQUEST);
|
$event = new RequestEvent($this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock(), $request, HttpKernelInterface::MASTER_REQUEST);
|
||||||
$listener->handle($event);
|
$listener($event);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user