function NextIdTest::setUp

Same name in this branch
  1. 9 core/modules/mysql/tests/src/Kernel/mysql/NextIdTest.php \Drupal\Tests\mysql\Kernel\mysql\NextIdTest::setUp()
Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php \Drupal\KernelTests\Core\Database\NextIdTest::setUp()
  2. 10 core/modules/mysql/tests/src/Kernel/mysql/NextIdTest.php \Drupal\Tests\mysql\Kernel\mysql\NextIdTest::setUp()
  3. 10 core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php \Drupal\KernelTests\Core\Database\NextIdTest::setUp()

Overrides DatabaseTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php, line 22

Class

NextIdTest
Tests the sequences API.

Namespace

Drupal\KernelTests\Core\Database

Code

protected function setUp() : void {
    parent::setUp();
    $this->installSchema('system', 'sequences');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.