Skip to content

Commit

Permalink
Dev: Test session destroy/start in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jun 19, 2018
1 parent 92d393d commit 2c15e48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/TestBaseClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ class TestBaseClass extends TestCase
public static function setUpBeforeClass()
{
parent::setUpBeforeClass();

//$lt = ini_get('session.gc_maxlifetime');
//var_dump('gc_maxlifetime = ' . $lt);
session_destroy();
session_start();

self::$testHelper = new TestHelper();

self::$dataFolder = __DIR__.'/data';
Expand Down

0 comments on commit 2c15e48

Please sign in to comment.