protected function DatabaseStorageExpirableTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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\KeyValueStoreCode
protected function setUp() {
parent::setUp();
$this->factory = 'keyvalue.expirable';
$this
->installSchema('system', array(
'key_value_expire',
));
}