diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2015-11-02 21:34:04 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-11-02 21:34:04 +0100 |
commit | 3ebe37fa9b133e4b9b0d784de95124e2af66f820 (patch) | |
tree | ebc7ecda2902d02a4bcc8605773d78af4c93bc40 /Core/Tests/Authentication/Token/AbstractTokenTest.php | |
parent | 5c0b69ecabbb26a1181d3f25b7e6434bd47d977e (diff) | |
parent | 6844219adbbdbbfaf159e816fa988a6de6ed6478 (diff) | |
download | symfony-security-3ebe37fa9b133e4b9b0d784de95124e2af66f820.zip symfony-security-3ebe37fa9b133e4b9b0d784de95124e2af66f820.tar.gz symfony-security-3ebe37fa9b133e4b9b0d784de95124e2af66f820.tar.bz2 |
Merge branch '2.8'
* 2.8:
removed @covers annotations in tests
removed @covers annotations in tests
removed all @covers annotations
checkCredentials() force it to be an affirmative yes!
[PropertyAccess] Major performance improvement
Diffstat (limited to 'Core/Tests/Authentication/Token/AbstractTokenTest.php')
-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'); |