summaryrefslogtreecommitdiffstats
path: root/Core/Tests
diff options
context:
space:
mode:
authorWouterJ <waldio.webdesign@gmail.com>2015-09-30 16:19:21 +0200
committerWouterJ <waldio.webdesign@gmail.com>2015-09-30 16:19:21 +0200
commit7e5bb9fc580f23c093090a80a4bfebbb9ad466cb (patch)
tree13f074852102807d6aadcd63ffa76677552c55b4 /Core/Tests
parentb0a581d3b4310fb94a4c4fbb419336252b8b3c60 (diff)
downloadsymfony-security-7e5bb9fc580f23c093090a80a4bfebbb9ad466cb.zip
symfony-security-7e5bb9fc580f23c093090a80a4bfebbb9ad466cb.tar.gz
symfony-security-7e5bb9fc580f23c093090a80a4bfebbb9ad466cb.tar.bz2
Remove more tests
Diffstat (limited to 'Core/Tests')
-rw-r--r--Core/Tests/Authorization/AccessDecisionManagerTest.php36
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()