File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Filter options
src/Symfony/Component/Security/Guard/Tests Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ public function testHandleAuthenticationFailure()
83
83
/**
84
84
* @dataProvider getTokenClearingTests
85
85
*/
86
- public function testHandleAuthenticationClearsToken ($ tokenClass , $ tokenProviderKey , $ actualProviderKey )
86
+ public function testHandleAuthenticationClearsToken ($ tokenProviderKey , $ actualProviderKey )
87
87
{
88
88
$ this ->tokenStorage ->expects ($ this ->never ())
89
89
->method ('setToken ' )
@@ -104,10 +104,10 @@ public function testHandleAuthenticationClearsToken($tokenClass, $tokenProviderK
104
104
public function getTokenClearingTests ()
105
105
{
106
106
$ tests = [];
107
- // correct token class and matching firewall => clear the token
108
- $ tests [] = ['Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken ' , ' the_firewall_key ' , 'the_firewall_key ' ];
109
- $ tests [] = ['Symfony\Component\Security\Guard\Token\PostAuthenticationGuardToken ' , ' the_firewall_key ' , 'different_key ' ];
110
- $ tests [] = ['Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken ' , ' the_firewall_key ' , 'the_firewall_key ' ];
107
+ // matching firewall => clear the token
108
+ $ tests [] = ['the_firewall_key ' , 'the_firewall_key ' ];
109
+ $ tests [] = ['the_firewall_key ' , 'different_key ' ];
110
+ $ tests [] = ['the_firewall_key ' , 'the_firewall_key ' ];
111
111
112
112
return $ tests ;
113
113
}
You can’t perform that action at this time.
0 commit comments