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:
commit
1d6d5fe586
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user