1 common.test CommonJavaScriptTestCase::tearDown()

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

Overrides BackdropWebTestCase::tearDown

File

core/modules/simpletest/tests/common.test, line 1375
Tests for common.inc functionality.

Class

CommonJavaScriptTestCase
Tests for the JavaScript system.

Code

function tearDown() {
  // Restore configured value for JavaScript preprocessing.
  config_set('system.core', 'preprocess_js', $this->preprocess_js);
  parent::tearDown();
}