You are here

protected function DatabaseStorageExpirableTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php \Drupal\KernelTests\Core\KeyValueStore\DatabaseStorageExpirableTest::setUp()
  2. 9 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 22

Class

DatabaseStorageExpirableTest
Tests the key-value database storage.

Namespace

Drupal\KernelTests\Core\KeyValueStore

Code

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