@@ -41,7 +41,7 @@ public function testAuthenticateWhenUsernameIsNotFound()
41
41
$ provider = $ this ->getProvider (false , false );
42
42
$ provider ->expects ($ this ->once ())
43
43
->method ('retrieveUser ' )
44
- ->will ($ this ->throwException ($ this ->getMock ('Symfony\Component\Security\Core\Exception\UsernameNotFoundException ' , null , array (), '' , false )))
44
+ ->will ($ this ->throwException ($ this ->getMock ('Symfony\Component\Security\Core\Exception\UsernameNotFoundException ' , null , array (), '' )))
45
45
;
46
46
47
47
$ provider ->authenticate ($ this ->getSupportedToken ());
@@ -55,7 +55,7 @@ public function testAuthenticateWhenUsernameIsNotFoundAndHideIsTrue()
55
55
$ provider = $ this ->getProvider (false , true );
56
56
$ provider ->expects ($ this ->once ())
57
57
->method ('retrieveUser ' )
58
- ->will ($ this ->throwException ($ this ->getMock ('Symfony\Component\Security\Core\Exception\UsernameNotFoundException ' , null , array (), '' , false )))
58
+ ->will ($ this ->throwException ($ this ->getMock ('Symfony\Component\Security\Core\Exception\UsernameNotFoundException ' , null , array (), '' )))
59
59
;
60
60
61
61
$ provider ->authenticate ($ this ->getSupportedToken ());
@@ -83,7 +83,7 @@ public function testAuthenticateWhenPreChecksFails()
83
83
$ userChecker = $ this ->getMock ('Symfony\Component\Security\Core\User\UserCheckerInterface ' );
84
84
$ userChecker ->expects ($ this ->once ())
85
85
->method ('checkPreAuth ' )
86
- ->will ($ this ->throwException ($ this ->getMock ('Symfony\Component\Security\Core\Exception\CredentialsExpiredException ' , null , array (), '' , false )))
86
+ ->will ($ this ->throwException ($ this ->getMock ('Symfony\Component\Security\Core\Exception\CredentialsExpiredException ' , null , array (), '' )))
87
87
;
88
88
89
89
$ provider = $ this ->getProvider ($ userChecker );
@@ -103,7 +103,7 @@ public function testAuthenticateWhenPostChecksFails()
103
103
$ userChecker = $ this ->getMock ('Symfony\Component\Security\Core\User\UserCheckerInterface ' );
104
104
$ userChecker ->expects ($ this ->once ())
105
105
->method ('checkPostAuth ' )
106
- ->will ($ this ->throwException ($ this ->getMock ('Symfony\Component\Security\Core\Exception\AccountExpiredException ' , null , array (), '' , false )))
106
+ ->will ($ this ->throwException ($ this ->getMock ('Symfony\Component\Security\Core\Exception\AccountExpiredException ' , null , array (), '' )))
107
107
;
108
108
109
109
$ provider = $ this ->getProvider ($ userChecker );
@@ -128,7 +128,7 @@ public function testAuthenticateWhenPostCheckAuthenticationFails()
128
128
;
129
129
$ provider ->expects ($ this ->once ())
130
130
->method ('checkAuthentication ' )
131
- ->will ($ this ->throwException ($ this ->getMock ('Symfony\Component\Security\Core\Exception\BadCredentialsException ' , null , array (), '' , false )))
131
+ ->will ($ this ->throwException ($ this ->getMock ('Symfony\Component\Security\Core\Exception\BadCredentialsException ' , null , array (), '' )))
132
132
;
133
133
134
134
$ provider ->authenticate ($ this ->getSupportedToken ());
0 commit comments