We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
setMethods()
onlyMethods()
addMethods()
1 parent a85747e commit 9455c2aCopy full SHA for 9455c2a
Tests/EventListener/VoteListenerTest.php
@@ -26,7 +26,7 @@ public function testOnVoterVote()
26
$traceableAccessDecisionManager = $this
27
->getMockBuilder(TraceableAccessDecisionManager::class)
28
->disableOriginalConstructor()
29
- ->setMethods(['addVoterVote'])
+ ->onlyMethods(['addVoterVote'])
30
->getMock();
31
32
$traceableAccessDecisionManager
0 commit comments