/** * Destroy the test environment */ public function tearDown() { Config::set('application.url', ''); Config::set('application.index', 'index.php'); Router::$names = array(); Router::$routes = array(); }
/** * Destroy the test environment. */ public function tearDown() { // @todo clear httpfoundation request data Config::set('session.driver', ''); Router::$routes = array(); Router::$names = array(); URL::$base = ''; Config::set('application.index', 'index.php'); Session::$instance = null; }