File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Symfony/Component/Security/Http/Tests/Authentication Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Security \Http \Tests ;
13
13
14
14
use Symfony \Component \Security \Core \Authentication \SimpleAuthenticatorInterface ;
15
+ use Symfony \Component \Security \Core \Exception \AuthenticationException ;
15
16
use Symfony \Component \Security \Http \Authentication \AuthenticationFailureHandlerInterface ;
16
17
use Symfony \Component \Security \Http \Authentication \AuthenticationSuccessHandlerInterface ;
17
18
use Symfony \Component \Security \Http \Authentication \SimpleAuthenticationHandler ;
@@ -38,7 +39,7 @@ public function setUp()
38
39
$ this ->request = $ this ->getMock ('Symfony\Component\HttpFoundation\Request ' );
39
40
$ this ->token = $ this ->getMock ('Symfony\Component\Security\Core\Authentication\Token\TokenInterface ' );
40
41
// No methods are invoked on the exception; we just assert on its class
41
- $ this ->authenticationException = new \ Symfony \ Component \ Security \ Core \ Exception \ AuthenticationException ();
42
+ $ this ->authenticationException = new AuthenticationException ();
42
43
43
44
$ this ->response = $ this ->getMock ('Symfony\Component\HttpFoundation\Response ' );
44
45
}
You can’t perform that action at this time.
0 commit comments