protected function TransactionTest::cleanUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php \Drupal\KernelTests\Core\Database\TransactionTest::cleanUp()
- 9 core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php \Drupal\KernelTests\Core\Database\TransactionTest::cleanUp()
Starts over for a new test.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Database/ TransactionTest.php, line 309
Class
- TransactionTest
- Tests the transaction abstraction system.
Namespace
Drupal\KernelTests\Core\DatabaseCode
protected function cleanUp() {
$this->connection
->truncate('test')
->execute();
}