Ejemplo n.º 1
0
	public function _after(\Codeception\TestCase $test) {
		$_SESSION = array();
		$_GET = array();
		$_POST = array();
		$_COOKIE = array();
		parent::_after($test);
	}
Ejemplo n.º 2
0
 public function _after(\Codeception\TestCase $test)
 {
     $_SESSION = array();
     $_FILES = array();
     $_GET = array();
     $_POST = array();
     $_COOKIE = array();
     $_REQUEST = array();
     if (Yii::$app) {
         Yii::$app->session->close();
     }
     parent::_after($test);
 }
Ejemplo n.º 3
0
 public function _after(\Codeception\TestCase $test)
 {
     $_SESSION = array();
     $_FILES = array();
     $_GET = array();
     $_POST = array();
     $_COOKIE = array();
     $_REQUEST = array();
     if ($this->transaction and $this->config['cleanup']) {
         $this->transaction->rollback();
     }
     if (Yii::$app) {
         Yii::$app->session->close();
     }
     parent::_after($test);
 }
Ejemplo n.º 4
0
 public function _after(\Codeception\TestCase $test)
 {
     $_SESSION = array();
     $_GET = array();
     $_POST = array();
     $_COOKIE = array();
     $_REQUEST = array();
     Yii::app()->session->close();
     parent::_after($test);
 }
Ejemplo n.º 5
0
 public function _after(\Codeception\TestCase $test)
 {
     $this->kernel->shutdown();
     parent::_after($test);
 }