Exemplo n.º 1
0
 /**
  * Destroy the testing environment.
  */
 public function tearDown()
 {
     Bundle::$started = array();
     Bundle::$routed = array();
     Router::$names = array();
     Router::$routes = array();
 }
Exemplo n.º 2
0
 /**
  * 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;
 }
Exemplo n.º 3
0
 /**
  * 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');
 }