You are here

protected function Drupali18nTestCase::tearDown in Internationalization 6

Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

Overrides DrupalWebTestCase::tearDown

File

tests/drupal_i18n_test_case.php, line 162

Class

Drupali18nTestCase
Test case for typical Drupal tests.

Code

protected function tearDown() {
  parent::tearDown();

  // Reset language list
  language_list('language', TRUE);
  drupal_init_language();
  if (module_exists('locale')) {
    locale(NULL, NULL, TRUE);
  }
}