summaryrefslogtreecommitdiffstats
path: root/Http/Tests/Authentication
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2014-10-01 07:28:47 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2014-10-01 07:28:47 +0200
commitf9854a99b470ae387d229f200d6b9ee9647c11a0 (patch)
tree0e1e7b9ae877eb3c419f027ff5f4cd9cc9543adc /Http/Tests/Authentication
parentd4fd86c3d1a4f409cf8a0d399ec8d89a7fa73426 (diff)
downloadsymfony-security-f9854a99b470ae387d229f200d6b9ee9647c11a0.zip
symfony-security-f9854a99b470ae387d229f200d6b9ee9647c11a0.tar.gz
symfony-security-f9854a99b470ae387d229f200d6b9ee9647c11a0.tar.bz2
fixed CS
Diffstat (limited to 'Http/Tests/Authentication')
-rw-r--r--Http/Tests/Authentication/SimpleAuthenticationHandlerTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Http/Tests/Authentication/SimpleAuthenticationHandlerTest.php b/Http/Tests/Authentication/SimpleAuthenticationHandlerTest.php
index 930d35c..97167c9 100644
--- a/Http/Tests/Authentication/SimpleAuthenticationHandlerTest.php
+++ b/Http/Tests/Authentication/SimpleAuthenticationHandlerTest.php
@@ -12,6 +12,7 @@
namespace Symfony\Component\Security\Http\Tests;
use Symfony\Component\Security\Core\Authentication\SimpleAuthenticatorInterface;
+use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface;
use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface;
use Symfony\Component\Security\Http\Authentication\SimpleAuthenticationHandler;
@@ -38,7 +39,7 @@ class SimpleAuthenticationHandlerTest extends \PHPUnit_Framework_TestCase
$this->request = $this->getMock('Symfony\Component\HttpFoundation\Request');
$this->token = $this->getMock('Symfony\Component\Security\Core\Authentication\Token\TokenInterface');
// No methods are invoked on the exception; we just assert on its class
- $this->authenticationException = new \Symfony\Component\Security\Core\Exception\AuthenticationException();
+ $this->authenticationException = new AuthenticationException();
$this->response = $this->getMock('Symfony\Component\HttpFoundation\Response');
}