/** * 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'); }
/** * Initialize the test environment. */ public function setUp() { Config::$items = array(); Config::$cache = array(); Asset::$containers = array(); }
/** * Tear down the testing environment. */ public function tearDown() { Config::$items = array(); Config::$cache = array(); }