Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 60382db

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: [SecurityBundle] Backport test Fix misspelling variable [DI] minor: use a strict comparision in setDecoratedService Follow-on to #25825: Fix edge case in getParameterOption. keep the context when validating forms
2 parents 49ff782 + 45c86bb commit 60382db

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Http/Tests/Firewall/UsernamePasswordFormAuthenticationListenerTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ public function testHandleNonStringUsername($postOnly)
8585
{
8686
$request = Request::create('/login_check', 'POST', array('_username' => array()));
8787
$request->setSession($this->getMockBuilder('Symfony\Component\HttpFoundation\Session\SessionInterface')->getMock());
88-
8988
$listener = new UsernamePasswordFormAuthenticationListener(
9089
new TokenStorage(),
9190
$this->getMockBuilder('Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface')->getMock(),
@@ -96,9 +95,7 @@ public function testHandleNonStringUsername($postOnly)
9695
new DefaultAuthenticationFailureHandler($this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock(), $httpUtils),
9796
array('require_previous_session' => false, 'post_only' => $postOnly)
9897
);
99-
10098
$event = new GetResponseEvent($this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock(), $request, HttpKernelInterface::MASTER_REQUEST);
101-
10299
$listener->handle($event);
103100
}
104101

0 commit comments

Comments
 (0)