diff options
author | WouterJ <waldio.webdesign@gmail.com> | 2015-09-30 16:19:21 +0200 |
---|---|---|
committer | WouterJ <waldio.webdesign@gmail.com> | 2015-09-30 16:19:21 +0200 |
commit | 7e5bb9fc580f23c093090a80a4bfebbb9ad466cb (patch) | |
tree | 13f074852102807d6aadcd63ffa76677552c55b4 | |
parent | b0a581d3b4310fb94a4c4fbb419336252b8b3c60 (diff) | |
download | symfony-security-7e5bb9fc580f23c093090a80a4bfebbb9ad466cb.zip symfony-security-7e5bb9fc580f23c093090a80a4bfebbb9ad466cb.tar.gz symfony-security-7e5bb9fc580f23c093090a80a4bfebbb9ad466cb.tar.bz2 |
Remove more tests
-rw-r--r-- | Core/Tests/Authorization/AccessDecisionManagerTest.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/Core/Tests/Authorization/AccessDecisionManagerTest.php b/Core/Tests/Authorization/AccessDecisionManagerTest.php index 08bbc58..9c23672 100644 --- a/Core/Tests/Authorization/AccessDecisionManagerTest.php +++ b/Core/Tests/Authorization/AccessDecisionManagerTest.php @@ -17,42 +17,6 @@ use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface; class AccessDecisionManagerTest extends \PHPUnit_Framework_TestCase { /** - * @group legacy - */ - public function testSupportsClass() - { - $manager = new AccessDecisionManager(array( - $this->getVoterSupportsClass(true), - $this->getVoterSupportsClass(false), - )); - $this->assertTrue($manager->supportsClass('FooClass')); - - $manager = new AccessDecisionManager(array( - $this->getVoterSupportsClass(false), - $this->getVoterSupportsClass(false), - )); - $this->assertFalse($manager->supportsClass('FooClass')); - } - - /** - * @group legacy - */ - public function testSupportsAttribute() - { - $manager = new AccessDecisionManager(array( - $this->getVoterSupportsAttribute(true), - $this->getVoterSupportsAttribute(false), - )); - $this->assertTrue($manager->supportsAttribute('foo')); - - $manager = new AccessDecisionManager(array( - $this->getVoterSupportsAttribute(false), - $this->getVoterSupportsAttribute(false), - )); - $this->assertFalse($manager->supportsAttribute('foo')); - } - - /** * @expectedException \InvalidArgumentException */ public function testSetUnsupportedStrategy() |