Skip to content

Commit 16e91da

Browse files
committed
fix password parameter name
1 parent 9d9ff86 commit 16e91da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Authenticator/FormLoginAuthenticatorTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function __toString()
170170
*/
171171
public function testHandleNonStringCsrfTokenWithArray($postOnly)
172172
{
173-
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', 'password' => 'bar', '_csrf_token' => []]);
173+
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', '_password' => 'bar', '_csrf_token' => []]);
174174
$request->setSession($this->createSession());
175175

176176
$this->setUpAuthenticator(['post_only' => $postOnly]);
@@ -186,7 +186,7 @@ public function testHandleNonStringCsrfTokenWithArray($postOnly)
186186
*/
187187
public function testHandleNonStringCsrfTokenWithInt($postOnly)
188188
{
189-
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', 'password' => 'bar', '_csrf_token' => 42]);
189+
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', '_password' => 'bar', '_csrf_token' => 42]);
190190
$request->setSession($this->createSession());
191191

192192
$this->setUpAuthenticator(['post_only' => $postOnly]);
@@ -202,7 +202,7 @@ public function testHandleNonStringCsrfTokenWithInt($postOnly)
202202
*/
203203
public function testHandleNonStringCsrfTokenWithObject($postOnly)
204204
{
205-
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', 'password' => 'bar', '_csrf_token' => new \stdClass()]);
205+
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', '_password' => 'bar', '_csrf_token' => new \stdClass()]);
206206
$request->setSession($this->createSession());
207207

208208
$this->setUpAuthenticator(['post_only' => $postOnly]);

0 commit comments

Comments
 (0)