[HttpFoundation] Avoid TypeError when calling \SessionHandlerInterface::gc().
This commit is contained in:
parent
5233cb96f4
commit
12f734d8b3
@ -72,9 +72,9 @@ class MarshallingSessionHandlerTest extends TestCase
|
|||||||
$marshallingSessionHandler = new MarshallingSessionHandler($this->handler, $this->marshaller);
|
$marshallingSessionHandler = new MarshallingSessionHandler($this->handler, $this->marshaller);
|
||||||
|
|
||||||
$this->handler->expects($this->once())->method('gc')
|
$this->handler->expects($this->once())->method('gc')
|
||||||
->with('maxlifetime')->willReturn(true);
|
->with(4711)->willReturn(true);
|
||||||
|
|
||||||
$marshallingSessionHandler->gc('maxlifetime');
|
$marshallingSessionHandler->gc(4711);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testRead()
|
public function testRead()
|
||||||
|
Reference in New Issue
Block a user