function KernelTestBaseTest::testSetUpDoesNotLeak
Tests set up does not leak.
@legacy-covers ::setUp
Attributes
#[Depends('testSetUp')]
File
-
core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php, line 110
Class
Namespace
Drupal\KernelTestsCode
public function testSetUpDoesNotLeak() : void {
// Ensure that we have a different database prefix.
$schema = $this->container
->get('database')
->schema();
$this->assertFalse($schema->tableExists('foo'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.