public function tearDown() { if (isset($this->_oldSession)) { $_SESSION = $this->_oldSession; } parent::tearDown(); }
public function tearDown() { if (isset($this->_oldSession)) { $_SESSION = $this->_oldSession; } if (X2_TEST_DEBUG_LEVEL > 0) { $timer = TestingAuxLib::getCaseTimer(); TestingAuxLib::log("time elapsed for test case: {$timer->stop()->getTime()}"); } parent::tearDown(); }
public function tearDown() { parent::tearDown(); Yii::app()->language = null; // reset language to not affect other tests }
function tearDown() { Yii::app()->mongodb->drop(); parent::tearDown(); }