summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2016-12-17 11:40:05 +0100
committerNicolas Grekas <nicolas.grekas@gmail.com>2016-12-17 11:40:05 +0100
commit8a7bf02f6038110dbf43a6c7dbf247acccac9817 (patch)
tree4718d2fdc2dfe60741b19e6226ff217635fefe97
parentd97a78775c5df380551d5ba188216dd38d6628ab (diff)
downloadsymfony-security-8a7bf02f6038110dbf43a6c7dbf247acccac9817.zip
symfony-security-8a7bf02f6038110dbf43a6c7dbf247acccac9817.tar.gz
symfony-security-8a7bf02f6038110dbf43a6c7dbf247acccac9817.tar.bz2
[Security] Fix test
-rw-r--r--Core/Tests/Authorization/Voter/AbstractVoterTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Tests/Authorization/Voter/AbstractVoterTest.php b/Core/Tests/Authorization/Voter/AbstractVoterTest.php
index 7c60007..69cfba3 100644
--- a/Core/Tests/Authorization/Voter/AbstractVoterTest.php
+++ b/Core/Tests/Authorization/Voter/AbstractVoterTest.php
@@ -122,7 +122,7 @@ class AbstractVoterTest extends \PHPUnit_Framework_TestCase
*/
public function testSupportsAttribute($expected, $attribute, $message)
{
- $voter = new AbstractVoterTest_Voter();
+ $voter = new Fixtures\MyVoter();
$this->assertEquals($expected, $voter->supportsAttribute($attribute), $message);
}