Skip to content

Commit 0971a1f

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: fix password parameter name clean up PHP 8.0 version checks
2 parents 4000b93 + a21ddd3 commit 0971a1f

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
@@ -198,7 +198,7 @@ public function __toString()
198198
*/
199199
public function testHandleNonStringCsrfTokenWithArray($postOnly)
200200
{
201-
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', 'password' => 'bar', '_csrf_token' => []]);
201+
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', '_password' => 'bar', '_csrf_token' => []]);
202202
$request->setSession($this->createSession());
203203

204204
$this->setUpAuthenticator(['post_only' => $postOnly]);
@@ -214,7 +214,7 @@ public function testHandleNonStringCsrfTokenWithArray($postOnly)
214214
*/
215215
public function testHandleNonStringCsrfTokenWithInt($postOnly)
216216
{
217-
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', 'password' => 'bar', '_csrf_token' => 42]);
217+
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', '_password' => 'bar', '_csrf_token' => 42]);
218218
$request->setSession($this->createSession());
219219

220220
$this->setUpAuthenticator(['post_only' => $postOnly]);
@@ -230,7 +230,7 @@ public function testHandleNonStringCsrfTokenWithInt($postOnly)
230230
*/
231231
public function testHandleNonStringCsrfTokenWithObject($postOnly)
232232
{
233-
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', 'password' => 'bar', '_csrf_token' => new \stdClass()]);
233+
$request = Request::create('/login_check', 'POST', ['_username' => 'foo', '_password' => 'bar', '_csrf_token' => new \stdClass()]);
234234
$request->setSession($this->createSession());
235235

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

0 commit comments

Comments
 (0)