function DatabaseStorageExpirableTest::setUp

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php \Drupal\KernelTests\Core\KeyValueStore\DatabaseStorageExpirableTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php \Drupal\KernelTests\Core\KeyValueStore\DatabaseStorageExpirableTest::setUp()
  3. 11.x core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php \Drupal\KernelTests\Core\KeyValueStore\DatabaseStorageExpirableTest::setUp()

Overrides StorageTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php, line 25

Class

DatabaseStorageExpirableTest
Tests the key-value database storage.

Namespace

Drupal\KernelTests\Core\KeyValueStore

Code

protected function setUp() : void {
    parent::setUp();
    $this->factory = 'keyvalue.expirable';
}

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