Skip to content

Commit

Permalink
Fix building mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteWunsch committed Jan 3, 2025
1 parent c315104 commit d1a9d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/EventListener/ValidateSlugListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ private function createKernel(): HttpKernelInterface
private function createController(): MockObject
{
return $this->getMockBuilder(\stdClass::class)
->onlyMethods(['__invoke'])
->addMethods(['__invoke'])
->getMock();
}

Expand Down

0 comments on commit d1a9d60

Please sign in to comment.