diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2015-11-02 21:20:53 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-11-02 21:20:53 +0100 |
commit | 731e82a601a8102eea39348205534649e0f25aa1 (patch) | |
tree | b2fe29d1732151dd86cc7eac11552c3ef5193179 /Core/Tests/Authentication/Token | |
parent | d40f1a8a8c20a285e90ba448d9b28e15ac2a6ec8 (diff) | |
parent | e9dcf7910c1f4f427dd8742665c1cab918e2ea78 (diff) | |
download | symfony-security-731e82a601a8102eea39348205534649e0f25aa1.zip symfony-security-731e82a601a8102eea39348205534649e0f25aa1.tar.gz symfony-security-731e82a601a8102eea39348205534649e0f25aa1.tar.bz2 |
Merge branch '2.3' into 2.7
* 2.3:
removed all @covers annotations
[PropertyAccess] Major performance improvement
Diffstat (limited to 'Core/Tests/Authentication/Token')
-rw-r--r-- | Core/Tests/Authentication/Token/AbstractTokenTest.php | 18 |
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'); |