示例#1
0
 public function tearDown()
 {
     //		$this->stop();
     parent::tearDown();
     $this->config->tearDown();
 }
示例#2
0
 /**
  * @copydoc PHPUnit_Framework_TestCase::tearDown()
  */
 protected function tearDown()
 {
     parent::tearDown();
     if (Config::getVar('general', 'installed')) {
         $affectedTables = $this->getAffectedTables();
         if (is_array($affectedTables)) {
             PKPTestHelper::restoreTables($this->getAffectedTables(), $this);
         } elseif ($affectedTables === PKP_TEST_ENTIRE_DB) {
             PKPTestHelper::restoreDB($this);
         }
     }
 }
 public function tearDown()
 {
     parent::tearDown();
     $this->config->tearDown();
 }
示例#4
0
 /**
  * Tears down the fixture, for example, close a network connection.
  * This method is called after a test is executed.
  */
 public function tearDown()
 {
     parent::tearDown();
     Mockery::close();
 }
 public function tearDown()
 {
     Kwf_Test_SeparateDb::restoreTestDb();
     // macht das nur wenns eine gibt
     parent::tearDown();
 }
示例#6
0
文件: WebTest.php 项目: studio-v/nano
 protected function tearDown()
 {
     if ($this->clearDbAfterTest) {
         Nano_Db::clean();
     }
     if ($this->clearLogAfterTest) {
         Nano_Log::clear();
     }
     parent::tearDown();
 }