Пример #1
0
 /**
  * Destroy the testing environment.
  */
 public function tearDown()
 {
     Bundle::$started = array();
     Bundle::$routed = array();
     Router::$names = array();
     Router::$routes = array();
 }
Пример #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;
 }
Пример #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');
 }