function DriverSpecificDatabaseTestBase::setUp

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificDatabaseTestBase::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificDatabaseTestBase::setUp()

Overrides DriverSpecificKernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php, line 23

Class

DriverSpecificDatabaseTestBase
Base class for driver specific database tests.

Namespace

Drupal\KernelTests\Core\Database

Code

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.