Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 8a7bf02

Browse files
[Security] Fix test
1 parent d97a787 commit 8a7bf02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Tests/Authorization/Voter/AbstractVoterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function getSupportsAttributeData()
122122
*/
123123
public function testSupportsAttribute($expected, $attribute, $message)
124124
{
125-
$voter = new AbstractVoterTest_Voter();
125+
$voter = new Fixtures\MyVoter();
126126

127127
$this->assertEquals($expected, $voter->supportsAttribute($attribute), $message);
128128
}

0 commit comments

Comments
 (0)