You are here

function SchemaRegressionTest::tearDown in Schema 6

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

Overrides DrupalWebTestCase::tearDown

File

tests/schema_regression.test, line 21
Regression tests for the Schema module

Class

SchemaRegressionTest
@file Regression tests for the Schema module

Code

function tearDown() {
  $ret = array();
  db_drop_table($ret, 'schema_testtbl');
  db_query("DROP TABLE schema_testtbl");
  parent::tearDown();
}