Example #1
0
 /**
  * Tear down the test environment.
  */
 public function tearDown()
 {
     $_SERVER['auth.login.stub'] = null;
     Cookie::$jar = array();
     Config::$items = array();
     Auth::driver()->user = null;
     Session::$instance = null;
     Config::set('database.default', 'mysql');
 }
Example #2
0
 /**
  * Initialize the test environment.
  */
 public function setUp()
 {
     Config::$items = array();
     Config::$cache = array();
     Asset::$containers = array();
 }
Example #3
0
 /**
  * Tear down the testing environment.
  */
 public function tearDown()
 {
     Config::$items = array();
     Config::$cache = array();
 }