Exemplo n.º 1
0
 public function tearDown()
 {
     if (isset($this->_oldSession)) {
         $_SESSION = $this->_oldSession;
     }
     parent::tearDown();
 }
Exemplo n.º 2
0
 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();
 }
Exemplo n.º 3
0
 public function tearDown()
 {
     parent::tearDown();
     Yii::app()->language = null;
     // reset language to not affect other tests
 }
Exemplo n.º 4
0
 function tearDown()
 {
     Yii::app()->mongodb->drop();
     parent::tearDown();
 }