Skip to content

Commit

Permalink
Ensure that the requestHandlerProphecy's handle() is called
Browse files Browse the repository at this point in the history
  • Loading branch information
akrabat committed Jan 6, 2021
1 parent 9fe81ac commit cb87504
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/GuardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ public function testTokenIsRemovedFromStorageWhenPersistentModeIsOff()
$requestHandlerProphecy = $this->prophesize(RequestHandlerInterface::class);
$requestHandlerProphecy
->handle(Argument::type(ServerRequestInterface::class))
->willReturn($responseProphecy->reveal());
->willReturn($responseProphecy->reveal())
->shouldBeCalledOnce();

$responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);

Expand Down

0 comments on commit cb87504

Please sign in to comment.