Skip to content

Commit

Permalink
[Tests] Replace setMethods() by onlyMethods() and addMethods()
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois committed Mar 6, 2023
1 parent 22d3c7e commit 62d064b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/GuardAuthenticatorHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function testSessionStrategyIsNotCalledWhenStateless()
public function testSessionIsNotInstantiatedOnStatelessFirewall()
{
$sessionFactory = $this->getMockBuilder(\stdClass::class)
->setMethods(['__invoke'])
->addMethods(['__invoke'])
->getMock();

$sessionFactory->expects($this->never())
Expand Down

0 comments on commit 62d064b

Please sign in to comment.