You are here

public function DateAPITestCase::tearDown in Date 7

Same name and namespace in other branches
  1. 6.2 tests/date_api.test \DateAPITestCase::tearDown()
  2. 7.3 date_api/tests/DateApiTestCase.test \DateApiTestCase::tearDown()
  3. 7.2 date_api/tests/DateApiTestCase.test \DateApiTestCase::tearDown()

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

Overrides DrupalWebTestCase::tearDown

File

tests/date_api.test, line 356

Class

DateAPITestCase
Test Date API functions

Code

public function tearDown() {
  variable_del('date_first_day');
  variable_del('date_api_use_iso8601');
  parent::tearDown();
}