1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Fix for error: session_start(): Failed to decode session object under some circumstances when 'db' method is used.

'session' set as default user tracking.
This commit is contained in:
Cameron
2020-07-01 13:02:58 -07:00
parent 582bd3f72c
commit 99016f5b4a
3 changed files with 15 additions and 2 deletions

View File

@@ -47,6 +47,19 @@
$this->assertEquals($opt,$newOpt);
}
public function testSetGet()
{
$expected = '123456';
$this->sess->set('whatever', $expected);
$result = $this->sess->get('whatever');
$this->assertEquals($expected, $result);
}
/*
public function testGetOption()