diff options
author | Konstantin.Myakshin <koc-dp@yandex.ru> | 2015-10-01 00:29:16 +0300 |
---|---|---|
committer | Konstantin.Myakshin <koc-dp@yandex.ru> | 2015-10-01 16:40:46 +0300 |
commit | 39e013d91988a626062431610bb2483612cf295a (patch) | |
tree | e5b31f2f10ab8afb2ae8dbfa65687bb12c320608 /Core/Tests/Authorization/AccessDecisionManagerTest.php | |
parent | 3026c37b81a8839e6e6882f53a91a1a907cd8351 (diff) | |
download | symfony-security-39e013d91988a626062431610bb2483612cf295a.zip symfony-security-39e013d91988a626062431610bb2483612cf295a.tar.gz symfony-security-39e013d91988a626062431610bb2483612cf295a.tar.bz2 |
[3.0][Security] Remove deprecated features (follow up of #15899)
Diffstat (limited to 'Core/Tests/Authorization/AccessDecisionManagerTest.php')
-rw-r--r-- | Core/Tests/Authorization/AccessDecisionManagerTest.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Core/Tests/Authorization/AccessDecisionManagerTest.php b/Core/Tests/Authorization/AccessDecisionManagerTest.php index 9c23672..72bae0a 100644 --- a/Core/Tests/Authorization/AccessDecisionManagerTest.php +++ b/Core/Tests/Authorization/AccessDecisionManagerTest.php @@ -137,24 +137,4 @@ class AccessDecisionManagerTest extends \PHPUnit_Framework_TestCase return $voter; } - - protected function getVoterSupportsClass($ret) - { - $voter = $this->getMock('Symfony\Component\Security\Core\Authorization\Voter\VoterInterface'); - $voter->expects($this->any()) - ->method('supportsClass') - ->will($this->returnValue($ret)); - - return $voter; - } - - protected function getVoterSupportsAttribute($ret) - { - $voter = $this->getMock('Symfony\Component\Security\Core\Authorization\Voter\VoterInterface'); - $voter->expects($this->any()) - ->method('supportsAttribute') - ->will($this->returnValue($ret)); - - return $voter; - } } |