Skip to content

Commit 59d8220

Browse files
minor #16138 [Security\Core] Fix test failure after sebastianbergmann/phpunit#1821 (nicolas-grekas)
This PR was merged into the 2.3 branch. Discussion ---------- [Security\Core] Fix test failure after sebastianbergmann/phpunit#1821 | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #16112 | License | MIT | Doc PR | - See sebastianbergmann/phpunit#1821 Commits ------- 742547c [Security\Core] Fix test failure after sebastianbergmann/phpunit#1821
2 parents 1f2a511 + 742547c commit 59d8220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Tests/Core/Authorization/AccessDecisionManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function getStrategiesWith2RolesTests()
9696
protected function getVoterFor2Roles($token, $vote1, $vote2)
9797
{
9898
$voter = $this->getMock('Symfony\Component\Security\Core\Authorization\Voter\VoterInterface');
99-
$voter->expects($this->exactly(2))
99+
$voter->expects($this->any())
100100
->method('vote')
101101
->will($this->returnValueMap(array(
102102
array($token, null, array('ROLE_FOO'), $vote1),

0 commit comments

Comments
 (0)