You are here

protected function DatabaseTransactionTestCase::cleanUp in Drupal 7

Start over for a new test.

2 calls to DatabaseTransactionTestCase::cleanUp()
DatabaseTransactionTestCase::testTransactionStacking in modules/simpletest/tests/database_test.test
Test transaction stacking and commit / rollback.
DatabaseTransactionTestCase::testTransactionWithDdlStatement in modules/simpletest/tests/database_test.test
Test the compatibility of transactions with DDL statements.

File

modules/simpletest/tests/database_test.test, line 3820

Class

DatabaseTransactionTestCase
Test transaction support, particularly nesting.

Code

protected function cleanUp() {
  db_truncate('test')
    ->execute();
}