Skip to content

Commit

Permalink
[HttpFoundation] Avoid TypeError when calling \SessionHandlerInterfac…
Browse files Browse the repository at this point in the history
…e::gc().
  • Loading branch information
derrabus committed May 24, 2020
1 parent a194922 commit e0d853b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public function testGc()
$marshallingSessionHandler = new MarshallingSessionHandler($this->handler, $this->marshaller);

$this->handler->expects($this->once())->method('gc')
->with('maxlifetime')->willReturn(true);
->with(4711)->willReturn(true);

$marshallingSessionHandler->gc('maxlifetime');
$marshallingSessionHandler->gc(4711);
}

public function testRead()
Expand Down

0 comments on commit e0d853b

Please sign in to comment.