function DatabaseTransactionTestCase::cleanUp

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 4051

Class

DatabaseTransactionTestCase
Test transaction support, particularly nesting.

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.