mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 12:02:24 +09:00
Fix unit tests
This commit is contained in:
parent
6b0dd6c192
commit
4f774bb460
1 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ class SessionTest extends \Codeception\TestCase\Test
|
||||||
|
|
||||||
public function testStart()
|
public function testStart()
|
||||||
{
|
{
|
||||||
|
Rhymix\Framework\Config::set('session.use_keys', true);
|
||||||
|
|
||||||
// Test normal start.
|
// Test normal start.
|
||||||
$this->assertTrue(@Rhymix\Framework\Session::start());
|
$this->assertTrue(@Rhymix\Framework\Session::start());
|
||||||
$this->assertTrue(isset($_COOKIE['rx_sesskey1']));
|
$this->assertTrue(isset($_COOKIE['rx_sesskey1']));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue