You are here

protected function DatabaseStorageExpirableTest::setUp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/system/src/Tests/KeyValueStore/DatabaseStorageExpirableTest.php \Drupal\system\Tests\KeyValueStore\DatabaseStorageExpirableTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides StorageTestBase::setUp

File

core/modules/system/src/Tests/KeyValueStore/DatabaseStorageExpirableTest.php, line 27
Contains \Drupal\system\Tests\KeyValueStore\DatabaseStorageExpirableTest.

Class

DatabaseStorageExpirableTest
Tests the key-value database storage.

Namespace

Drupal\system\Tests\KeyValueStore

Code

protected function setUp() {
  parent::setUp();
  $this->factory = 'keyvalue.expirable';
  $this
    ->installSchema('system', array(
    'key_value_expire',
  ));
}