Skip to content

Commit

Permalink
If session doesn't start, this test cannot work.
Browse files Browse the repository at this point in the history
Show errors if starting the session fails.
  • Loading branch information
yunosh committed Mar 15, 2016
1 parent 3924627 commit f2724b1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -75,7 +75,7 @@ public function testDestroy()
{
session_name('sessionname');
session_id('sessionid2');
@session_start();
session_start();
session_destroy();
$this->assertEquals(array('sessionid'),
self::$handler->getSessionIDs());
Expand All @@ -93,7 +93,7 @@ public function testGc()
ini_set('session.gc_divisor', 1);
ini_set('session.gc_maxlifetime', -1);
session_name('sessionname');
@session_start();
session_start();
$this->assertEquals(array(),
self::$handler->getSessionIDs());
}
Expand Down

0 comments on commit f2724b1

Please sign in to comment.