Skip to content

Commit

Permalink
The session order is not portable.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 15, 2016
1 parent cc95c1c commit 43390d9
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -76,8 +76,10 @@ public function testDestroy()
session_name('sessionname');
session_id('sessionid2');
session_start();
$this->assertEquals(array('sessionid2', 'sessionid'),
self::$handler->getSessionIDs());
$sessionIds = self::$handler->getSessionIDs();
sort($sessionIds);
$this->assertEquals(array('sessionid', 'sessionid2'),
$sessionIds);
session_destroy();
$this->assertEquals(array('sessionid'),
self::$handler->getSessionIDs());
Expand Down

0 comments on commit 43390d9

Please sign in to comment.