@@ -170,7 +170,7 @@ public function __toString()
170
170
*/
171
171
public function testHandleNonStringCsrfTokenWithArray ($ postOnly )
172
172
{
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 ' => []]);
174
174
$ request ->setSession ($ this ->createSession ());
175
175
176
176
$ this ->setUpAuthenticator (['post_only ' => $ postOnly ]);
@@ -186,7 +186,7 @@ public function testHandleNonStringCsrfTokenWithArray($postOnly)
186
186
*/
187
187
public function testHandleNonStringCsrfTokenWithInt ($ postOnly )
188
188
{
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 ]);
190
190
$ request ->setSession ($ this ->createSession ());
191
191
192
192
$ this ->setUpAuthenticator (['post_only ' => $ postOnly ]);
@@ -202,7 +202,7 @@ public function testHandleNonStringCsrfTokenWithInt($postOnly)
202
202
*/
203
203
public function testHandleNonStringCsrfTokenWithObject ($ postOnly )
204
204
{
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 ()]);
206
206
$ request ->setSession ($ this ->createSession ());
207
207
208
208
$ this ->setUpAuthenticator (['post_only ' => $ postOnly ]);
0 commit comments