@@ -198,7 +198,7 @@ public function __toString()
198
198
*/
199
199
public function testHandleNonStringCsrfTokenWithArray ($ postOnly )
200
200
{
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 ' => []]);
202
202
$ request ->setSession ($ this ->createSession ());
203
203
204
204
$ this ->setUpAuthenticator (['post_only ' => $ postOnly ]);
@@ -214,7 +214,7 @@ public function testHandleNonStringCsrfTokenWithArray($postOnly)
214
214
*/
215
215
public function testHandleNonStringCsrfTokenWithInt ($ postOnly )
216
216
{
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 ]);
218
218
$ request ->setSession ($ this ->createSession ());
219
219
220
220
$ this ->setUpAuthenticator (['post_only ' => $ postOnly ]);
@@ -230,7 +230,7 @@ public function testHandleNonStringCsrfTokenWithInt($postOnly)
230
230
*/
231
231
public function testHandleNonStringCsrfTokenWithObject ($ postOnly )
232
232
{
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 ()]);
234
234
$ request ->setSession ($ this ->createSession ());
235
235
236
236
$ this ->setUpAuthenticator (['post_only ' => $ postOnly ]);
0 commit comments