File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,11 @@ public function test_that_username_is_set_from_user_interface_if_token_present_a
260
260
->willReturn ($ user )
261
261
;
262
262
263
+ $ mockToken
264
+ ->method ('isAuthenticated ' )
265
+ ->willReturn (true )
266
+ ;
267
+
263
268
$ mockEvent = $ this ->createMock (GetResponseEvent::class);
264
269
265
270
$ mockEvent
@@ -311,6 +316,11 @@ public function test_that_username_is_set_from_user_interface_if_token_present_a
311
316
->willReturn ('some_user ' )
312
317
;
313
318
319
+ $ mockToken
320
+ ->method ('isAuthenticated ' )
321
+ ->willReturn (true )
322
+ ;
323
+
314
324
$ mockEvent = $ this ->createMock (GetResponseEvent::class);
315
325
316
326
$ mockEvent
@@ -370,6 +380,11 @@ public function test_that_username_is_set_from_user_interface_if_token_present_a
370
380
->willReturn ($ mockUser )
371
381
;
372
382
383
+ $ mockToken
384
+ ->method ('isAuthenticated ' )
385
+ ->willReturn (true )
386
+ ;
387
+
373
388
$ mockEvent = $ this ->createMock (GetResponseEvent::class);
374
389
375
390
$ mockEvent
You can’t perform that action at this time.
0 commit comments