function JavaScriptTestCase::tearDown

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

Overrides DrupalWebTestCase::tearDown

File

modules/simpletest/tests/common.test, line 1548

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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.