summaryrefslogtreecommitdiffstats
path: root/Core/Tests/Authentication
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-11-02 21:29:24 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2015-11-02 21:29:24 +0100
commit6844219adbbdbbfaf159e816fa988a6de6ed6478 (patch)
tree936955025bd60dedc32cd7b3a5a865d62abe25ff /Core/Tests/Authentication
parent55d8b7b4d774ca17405feaa645dd403abf94ba4d (diff)
parentfd9038ed4bf4a8c749d59bac7909e7d9af405893 (diff)
downloadsymfony-security-6844219adbbdbbfaf159e816fa988a6de6ed6478.zip
symfony-security-6844219adbbdbbfaf159e816fa988a6de6ed6478.tar.gz
symfony-security-6844219adbbdbbfaf159e816fa988a6de6ed6478.tar.bz2
Merge branch '2.7' into 2.8
* 2.7: removed @covers annotations in tests removed all @covers annotations [PropertyAccess] Major performance improvement
Diffstat (limited to 'Core/Tests/Authentication')
-rw-r--r--Core/Tests/Authentication/Token/AbstractTokenTest.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/Core/Tests/Authentication/Token/AbstractTokenTest.php b/Core/Tests/Authentication/Token/AbstractTokenTest.php
index 6f2b6ed..1a786d7 100644
--- a/Core/Tests/Authentication/Token/AbstractTokenTest.php
+++ b/Core/Tests/Authentication/Token/AbstractTokenTest.php
@@ -85,10 +85,6 @@ class AbstractTokenTest extends \PHPUnit_Framework_TestCase
$token->eraseCredentials();
}
- /**
- * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::serialize
- * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::unserialize
- */
public function testSerialize()
{
$token = $this->getToken(array('ROLE_FOO'));
@@ -114,9 +110,6 @@ class AbstractTokenTest extends \PHPUnit_Framework_TestCase
);
}
- /**
- * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::__construct
- */
public function testConstructor()
{
$token = $this->getToken(array('ROLE_FOO'));
@@ -129,10 +122,6 @@ class AbstractTokenTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(array(new Role('ROLE_FOO'), new Role('ROLE_BAR')), $token->getRoles());
}
- /**
- * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::isAuthenticated
- * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::setAuthenticated
- */
public function testAuthenticatedFlag()
{
$token = $this->getToken();
@@ -145,13 +134,6 @@ class AbstractTokenTest extends \PHPUnit_Framework_TestCase
$this->assertFalse($token->isAuthenticated());
}
- /**
- * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::getAttributes
- * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::setAttributes
- * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::hasAttribute
- * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::getAttribute
- * @covers Symfony\Component\Security\Core\Authentication\Token\AbstractToken::setAttribute
- */
public function testAttributes()
{
$attributes = array('foo' => 'bar');