You are here

public function TransactionLegacyAPITest::tearDown in Transaction 5

Clean up after ourselves.

Overrides DrupalTestCase::tearDown

File

tests/transaction_legacy.test, line 80
Contains the test for the pressflow_transaction legacy API provided in the transaction module (formerly pressflow_transaction).

Class

TransactionLegacyAPITest
Implements the test cases for the pressflow_transaction legacy API.

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