diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-05-23 11:58:34 -0700 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-05-23 12:08:33 -0700 |
commit | 3c6c556ba36d68e6c05b8be761d35fb919825509 (patch) | |
tree | 7ffe78990f214978fd8260018b2e243422da9497 /Core/Tests/Authorization/AccessDecisionManagerTest.php | |
parent | a3c3bf47ffef13bb4646f0c7b7971cce399d5950 (diff) | |
download | symfony-security-3c6c556ba36d68e6c05b8be761d35fb919825509.zip symfony-security-3c6c556ba36d68e6c05b8be761d35fb919825509.tar.gz symfony-security-3c6c556ba36d68e6c05b8be761d35fb919825509.tar.bz2 |
[Security] Add setVoters() on AccessDecisionManager
Diffstat (limited to 'Core/Tests/Authorization/AccessDecisionManagerTest.php')
-rw-r--r-- | Core/Tests/Authorization/AccessDecisionManagerTest.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Core/Tests/Authorization/AccessDecisionManagerTest.php b/Core/Tests/Authorization/AccessDecisionManagerTest.php index 3c970d1..bd876c7 100644 --- a/Core/Tests/Authorization/AccessDecisionManagerTest.php +++ b/Core/Tests/Authorization/AccessDecisionManagerTest.php @@ -49,14 +49,6 @@ class AccessDecisionManagerTest extends \PHPUnit_Framework_TestCase /** * @expectedException \InvalidArgumentException */ - public function testSetVotersEmpty() - { - $manager = new AccessDecisionManager(array()); - } - - /** - * @expectedException \InvalidArgumentException - */ public function testSetUnsupportedStrategy() { new AccessDecisionManager(array($this->getVoter(VoterInterface::ACCESS_GRANTED)), 'fooBar'); |