diff options
author | Iltar van der Berg <ivanderberg@hostnet.nl> | 2014-09-29 09:09:34 +0200 |
---|---|---|
committer | Iltar van der Berg <ivanderberg@hostnet.nl> | 2014-09-29 09:38:25 +0200 |
commit | e70cd1cffa71f5d45b3b47d0ef4f5ac4e49db0fa (patch) | |
tree | cb29987795eec2280b860583e4a22124cdeb01e5 /Http/Tests/HttpUtilsTest.php | |
parent | 13d75567bf16e646536e9683097b6faa08dc728e (diff) | |
download | symfony-security-e70cd1cffa71f5d45b3b47d0ef4f5ac4e49db0fa.zip symfony-security-e70cd1cffa71f5d45b3b47d0ef4f5ac4e49db0fa.tar.gz symfony-security-e70cd1cffa71f5d45b3b47d0ef4f5ac4e49db0fa.tar.bz2 |
[DX] Moved constants to a final class
Diffstat (limited to 'Http/Tests/HttpUtilsTest.php')
-rw-r--r-- | Http/Tests/HttpUtilsTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Http/Tests/HttpUtilsTest.php b/Http/Tests/HttpUtilsTest.php index 5cac504..195fc48 100644 --- a/Http/Tests/HttpUtilsTest.php +++ b/Http/Tests/HttpUtilsTest.php @@ -14,7 +14,7 @@ namespace Symfony\Component\Security\Http\Tests; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\Exception\MethodNotAllowedException; use Symfony\Component\Routing\Exception\ResourceNotFoundException; -use Symfony\Component\Security\Core\SecurityContextInterface; +use Symfony\Component\Security\Core\Security; use Symfony\Component\Security\Http\HttpUtils; class HttpUtilsTest extends \PHPUnit_Framework_TestCase @@ -126,9 +126,9 @@ class HttpUtilsTest extends \PHPUnit_Framework_TestCase public function provideSecurityContextAttributes() { return array( - array(SecurityContextInterface::AUTHENTICATION_ERROR), - array(SecurityContextInterface::ACCESS_DENIED_ERROR), - array(SecurityContextInterface::LAST_USERNAME), + array(Security::AUTHENTICATION_ERROR), + array(Security::ACCESS_DENIED_ERROR), + array(Security::LAST_USERNAME), ); } |