protected function tearDown() { // dropping test database $this->dropTestDatabase(); parent::tearDown(); }
public function tearDown() { parent::tearDown(); }
/** * Reset original language * * If we don't do this after test tearDown, we get some errors when the system tries to translate * the test result messages, which is next step. */ protected function tearDown() { global $language; parent::tearDown(); $language = $this->originalLanguage; }
public function tearDown() { debug('This test run took ' . (time() - $this->start) . ' seconds.'); unset($this->view); parent::tearDown(); }
/** * Delete created files and temporary files directory, delete the tables created by setUp(), * and reset the database prefix. */ protected function tearDown() { parent::tearDown(); // Reset language list language_list('language', TRUE); drupal_init_language(); if (module_exists('locale')) { locale(NULL, NULL, TRUE); } }
function tearDown() { parent::tearDown(); variable_del('ldap_help_watchdog_detail'); variable_del('ldap_simpletest'); }
public function tearDown() { parent::tearDown(); DrupalBootstrap::restoreDatabase(); }
/** * Overrides DrupalWebTestCase::tearDown(). * * Ensures that the default branch doesn't get overridden by tests. */ function tearDown() { DrupalWebTestCase::tearDown(); // Aparently SimpleTest is leaky sometimes. variable_set('api_default_branch', $this->default_branch); }