You are here

function JavaScriptTestCase::tearDown in SimpleTest 7

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

Overrides DrupalWebTestCase::tearDown

File

tests/common.test, line 969
Tests for common.inc functionality.

Class

JavaScriptTestCase
Tests for the JavaScript system.

Code

function tearDown() {

  // Restore configured value for JavaScript preprocessing.
  variable_set('preprocess_js', $this->preprocess_js);
  parent::tearDown();
}