Skip to content

Commit bc0389c

Browse files
committed
Fix transiant tests in 4.4
1 parent 44d7fe4 commit bc0389c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Tests/Authentication/SimpleAuthenticationHandlerTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Component\Security\Http\Tests;
12+
namespace Symfony\Component\Security\Http\Tests\Authentication;
1313

1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\HttpFoundation\Response;
@@ -69,7 +69,7 @@ public function testOnAuthenticationSuccessCallsSimpleAuthenticator()
6969
$this->successHandler->expects($this->never())
7070
->method('onAuthenticationSuccess');
7171

72-
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\TestSuccessHandlerInterface');
72+
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\Authentication\TestSuccessHandlerInterface');
7373
$authenticator->expects($this->once())
7474
->method('onAuthenticationSuccess')
7575
->with($this->request, $this->token)
@@ -88,7 +88,7 @@ public function testOnAuthenticationSuccessThrowsAnExceptionIfNonResponseIsRetur
8888
$this->successHandler->expects($this->never())
8989
->method('onAuthenticationSuccess');
9090

91-
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\TestSuccessHandlerInterface');
91+
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\Authentication\TestSuccessHandlerInterface');
9292
$authenticator->expects($this->once())
9393
->method('onAuthenticationSuccess')
9494
->with($this->request, $this->token)
@@ -105,7 +105,7 @@ public function testOnAuthenticationSuccessFallsBackToDefaultHandlerIfNullIsRetu
105105
->with($this->request, $this->token)
106106
->willReturn($this->response);
107107

108-
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\TestSuccessHandlerInterface');
108+
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\Authentication\TestSuccessHandlerInterface');
109109
$authenticator->expects($this->once())
110110
->method('onAuthenticationSuccess')
111111
->with($this->request, $this->token)
@@ -137,7 +137,7 @@ public function testOnAuthenticationFailureCallsSimpleAuthenticator()
137137
$this->failureHandler->expects($this->never())
138138
->method('onAuthenticationFailure');
139139

140-
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\TestFailureHandlerInterface');
140+
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\Authentication\TestFailureHandlerInterface');
141141
$authenticator->expects($this->once())
142142
->method('onAuthenticationFailure')
143143
->with($this->request, $this->authenticationException)
@@ -156,7 +156,7 @@ public function testOnAuthenticationFailureThrowsAnExceptionIfNonResponseIsRetur
156156
$this->failureHandler->expects($this->never())
157157
->method('onAuthenticationFailure');
158158

159-
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\TestFailureHandlerInterface');
159+
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\Authentication\TestFailureHandlerInterface');
160160
$authenticator->expects($this->once())
161161
->method('onAuthenticationFailure')
162162
->with($this->request, $this->authenticationException)
@@ -173,7 +173,7 @@ public function testOnAuthenticationFailureFallsBackToDefaultHandlerIfNullIsRetu
173173
->with($this->request, $this->authenticationException)
174174
->willReturn($this->response);
175175

176-
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\TestFailureHandlerInterface');
176+
$authenticator = $this->getMockForAbstractClass('Symfony\Component\Security\Http\Tests\Authentication\TestFailureHandlerInterface');
177177
$authenticator->expects($this->once())
178178
->method('onAuthenticationFailure')
179179
->with($this->request, $this->authenticationException)

0 commit comments

Comments
 (0)