You are here

public function TransactionTest::tearDown in Transaction 5

Clean up after ourselves.

Overrides DrupalTestCase::tearDown

File

tests/transaction.test, line 80
Contains the test for the transaction module (formerly pressflow_transaction).

Class

TransactionTest
Implements the test cases for the transaction module.

Code

public function tearDown() {
  db_query('DROP TABLE IF EXISTS {simpletest_transaction}');
  db_query("DELETE FROM {sequences} WHERE name = '%s'", db_prefix_tables(self::$sequence1));
  db_query("DELETE FROM {sequences} WHERE name = '%s'", db_prefix_tables(self::$sequence2));
  parent::tearDown();
}