protected function DatabaseStorageExpirableTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php \Drupal\KernelTests\Core\KeyValueStore\DatabaseStorageExpirableTest::setUp()
- 10 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\KeyValueStoreCode
protected function setUp() {
parent::setUp();
$this->factory = 'keyvalue.expirable';
$this
->installSchema('system', [
'key_value_expire',
]);
}