function ConnectionTest::tearDown
Same name in other branches
- 10 core/tests/Drupal/Tests/Core/Database/ConnectionTest.php \Drupal\Tests\Core\Database\ConnectionTest::tearDown()
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ ConnectionTest.php, line 957
Class
- ConnectionTest
- Tests the Connection class.
Namespace
Drupal\Tests\Core\DatabaseCode
public function tearDown() : void {
parent::tearDown();
// Removes the default connection added by the
// testFindCallerFromDebugBacktrace test.
Database::removeConnection('default');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.