function DriverSpecificTransactionTestBase::cleanUp
Same name in other branches
- 10 core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificTransactionTestBase::cleanUp()
Starts over for a new test.
2 calls to DriverSpecificTransactionTestBase::cleanUp()
- DriverSpecificTransactionTestBase::testTransactionStacking in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificTransactionTestBase.php - Tests transaction stacking, commit, and rollback.
- DriverSpecificTransactionTestBase::testTransactionWithDdlStatement in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificTransactionTestBase.php - Tests the compatibility of transactions with DDL statements.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificTransactionTestBase.php, line 479
Class
- DriverSpecificTransactionTestBase
- Tests the transaction abstraction system.
Namespace
Drupal\KernelTests\Core\DatabaseCode
protected function cleanUp() {
$this->connection
->truncate('test')
->execute();
$this->postTransactionCallbackAction = NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.