示例#1
0
	public function _after(\Codeception\TestCase $test) {
		$_SESSION = array();
		$_GET = array();
		$_POST = array();
		$_COOKIE = array();
		parent::_after($test);
	}
示例#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);
 }
示例#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);
 }
示例#4
0
文件: Yii1.php 项目: pfz/codeception
 public function _after(\Codeception\TestCase $test)
 {
     $_SESSION = array();
     $_GET = array();
     $_POST = array();
     $_COOKIE = array();
     $_REQUEST = array();
     Yii::app()->session->close();
     parent::_after($test);
 }
示例#5
0
 public function _after(\Codeception\TestCase $test)
 {
     $this->kernel->shutdown();
     parent::_after($test);
 }