session handler config upd

This commit is contained in:
Milos Stojanovic
2019-06-19 09:23:20 +02:00
parent 0765079a26
commit 5da41e63c9
7 changed files with 28 additions and 46 deletions

View File

@@ -25,12 +25,9 @@ class SessionStorageTest extends TestCase
{
$this->session_service = new SessionStorage(new Request());
$this->session_service->init([
'session_handler' => 'mockfilesession',
'available' => [
'mockfilesession' => function () {
return new \Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage();
},
],
'handler' => function () {
return new \Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage();
},
]);
parent::setUp();