File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ public function testGetTokenNoTokenStorage()
3333
3434 public function testGetTokenNoToken ()
3535 {
36- $ tokenStorage = $ this ->getMock ('Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface ' );
36+ $ tokenStorage = $ this ->getMockBuilder ('Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface ' )-> getMock ( );
3737 $ this ->container ->set ('security.token_storage ' , $ tokenStorage );
3838 $ this ->assertNull ($ this ->globals ->getToken ());
3939 }
4040
4141 public function testGetToken ()
4242 {
43- $ tokenStorage = $ this ->getMock ('Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface ' );
43+ $ tokenStorage = $ this ->getMockBuilder ('Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface ' )-> getMock ( );
4444
4545 $ this ->container ->set ('security.token_storage ' , $ tokenStorage );
4646
You can’t perform that action at this time.
0 commit comments