diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-01-04 21:27:00 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-01-05 09:56:52 +0100 |
commit | b7409ef75f050977d0444913b103413f36888430 (patch) | |
tree | 8dab33cc5e01d659bd74e270cb6e000023bb39b2 /Tests/Core/SecurityContextInterfaceTest.php | |
parent | 495d07a1730d12646dbcb51ed6ef5915982630bf (diff) | |
download | symfony-security-b7409ef75f050977d0444913b103413f36888430.zip symfony-security-b7409ef75f050977d0444913b103413f36888430.tar.gz symfony-security-b7409ef75f050977d0444913b103413f36888430.tar.bz2 |
[2.6] cleanup deprecated uses
Diffstat (limited to 'Tests/Core/SecurityContextInterfaceTest.php')
-rw-r--r-- | Tests/Core/SecurityContextInterfaceTest.php | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Tests/Core/SecurityContextInterfaceTest.php b/Tests/Core/SecurityContextInterfaceTest.php deleted file mode 100644 index f65d202..0000000 --- a/Tests/Core/SecurityContextInterfaceTest.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Security\Tests\Core; - -use Symfony\Component\Security\Core\SecurityContextInterface; -use Symfony\Component\Security\Core\Security; - -class SecurityContextInterfaceTest extends \PHPUnit_Framework_TestCase -{ - /** - * Test if the BC Layer is working as intended - * - * @deprecated Deprecated since version 2.6, to be removed in 3.0. - */ - public function testConstantSync() - { - $this->assertSame(Security::ACCESS_DENIED_ERROR, SecurityContextInterface::ACCESS_DENIED_ERROR); - $this->assertSame(Security::AUTHENTICATION_ERROR, SecurityContextInterface::AUTHENTICATION_ERROR); - $this->assertSame(Security::LAST_USERNAME, SecurityContextInterface::LAST_USERNAME); - } -} |