function DriverSpecificDatabaseTestBase::setUp
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificDatabaseTestBase::setUp()
- 11.x core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificDatabaseTestBase::setUp()
Overrides DriverSpecificKernelTestBase::setUp
1 method overrides DriverSpecificDatabaseTestBase::setUp()
- NextIdTest::setUp in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ NextIdTest.php
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificDatabaseTestBase.php, line 23
Class
- DriverSpecificDatabaseTestBase
- Base class for driver specific database tests.
Namespace
Drupal\KernelTests\Core\DatabaseCode
protected function setUp() : void {
parent::setUp();
$this->installSampleSchema();
$this->addSampleData();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.