9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace Symfony \Component \Security \Http \Tests ;
12
+ namespace Symfony \Component \Security \Http \Tests \ Authentication ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
15
use Symfony \Component \HttpFoundation \Response ;
@@ -69,7 +69,7 @@ public function testOnAuthenticationSuccessCallsSimpleAuthenticator()
69
69
$ this ->successHandler ->expects ($ this ->never ())
70
70
->method ('onAuthenticationSuccess ' );
71
71
72
- $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\TestSuccessHandlerInterface ' );
72
+ $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\Authentication\ TestSuccessHandlerInterface ' );
73
73
$ authenticator ->expects ($ this ->once ())
74
74
->method ('onAuthenticationSuccess ' )
75
75
->with ($ this ->request , $ this ->token )
@@ -88,7 +88,7 @@ public function testOnAuthenticationSuccessThrowsAnExceptionIfNonResponseIsRetur
88
88
$ this ->successHandler ->expects ($ this ->never ())
89
89
->method ('onAuthenticationSuccess ' );
90
90
91
- $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\TestSuccessHandlerInterface ' );
91
+ $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\Authentication\ TestSuccessHandlerInterface ' );
92
92
$ authenticator ->expects ($ this ->once ())
93
93
->method ('onAuthenticationSuccess ' )
94
94
->with ($ this ->request , $ this ->token )
@@ -105,7 +105,7 @@ public function testOnAuthenticationSuccessFallsBackToDefaultHandlerIfNullIsRetu
105
105
->with ($ this ->request , $ this ->token )
106
106
->willReturn ($ this ->response );
107
107
108
- $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\TestSuccessHandlerInterface ' );
108
+ $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\Authentication\ TestSuccessHandlerInterface ' );
109
109
$ authenticator ->expects ($ this ->once ())
110
110
->method ('onAuthenticationSuccess ' )
111
111
->with ($ this ->request , $ this ->token )
@@ -137,7 +137,7 @@ public function testOnAuthenticationFailureCallsSimpleAuthenticator()
137
137
$ this ->failureHandler ->expects ($ this ->never ())
138
138
->method ('onAuthenticationFailure ' );
139
139
140
- $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\TestFailureHandlerInterface ' );
140
+ $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\Authentication\ TestFailureHandlerInterface ' );
141
141
$ authenticator ->expects ($ this ->once ())
142
142
->method ('onAuthenticationFailure ' )
143
143
->with ($ this ->request , $ this ->authenticationException )
@@ -156,7 +156,7 @@ public function testOnAuthenticationFailureThrowsAnExceptionIfNonResponseIsRetur
156
156
$ this ->failureHandler ->expects ($ this ->never ())
157
157
->method ('onAuthenticationFailure ' );
158
158
159
- $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\TestFailureHandlerInterface ' );
159
+ $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\Authentication\ TestFailureHandlerInterface ' );
160
160
$ authenticator ->expects ($ this ->once ())
161
161
->method ('onAuthenticationFailure ' )
162
162
->with ($ this ->request , $ this ->authenticationException )
@@ -173,7 +173,7 @@ public function testOnAuthenticationFailureFallsBackToDefaultHandlerIfNullIsRetu
173
173
->with ($ this ->request , $ this ->authenticationException )
174
174
->willReturn ($ this ->response );
175
175
176
- $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\TestFailureHandlerInterface ' );
176
+ $ authenticator = $ this ->getMockForAbstractClass ('Symfony\Component\Security\Http\Tests\Authentication\ TestFailureHandlerInterface ' );
177
177
$ authenticator ->expects ($ this ->once ())
178
178
->method ('onAuthenticationFailure ' )
179
179
->with ($ this ->request , $ this ->authenticationException )
0 commit comments