minor #20969 [Security] Fix test (nicolas-grekas)

This PR was merged into the 2.8 branch.

Discussion
----------

[Security] Fix test

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

8aeed88 [Security] Fix test
This commit is contained in:
Nicolas Grekas 2016-12-17 11:42:22 +01:00
commit 1d6d5fe586

View File

@ -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);
}