/** * Destroy the testing environment. */ public function tearDown() { Bundle::$started = array(); Bundle::$routed = array(); 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; }
/** * Destroy the test enviornment. */ public function tearDown() { $_SERVER = array(); Router::$routes = array(); Router::$names = array(); Router::$uses = array(); Router::$fallback = array(); Config::set('application.ssl', true); Config::set('application.url', ''); Config::set('application.index', 'index.php'); }