From 8aeed8817983d9b73bb69f122081ce0fd29ed23f Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sat, 17 Dec 2016 11:40:05 +0100 Subject: [PATCH] [Security] Fix test --- .../Core/Tests/Authorization/Voter/AbstractVoterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/AbstractVoterTest.php b/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/AbstractVoterTest.php index 7c60007d98..69cfba34bb 100644 --- a/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/AbstractVoterTest.php +++ b/src/Symfony/Component/Security/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); }