protected function GarbageCollectionTest::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/system/src/Tests/KeyValueStore/GarbageCollectionTest.php \Drupal\system\Tests\KeyValueStore\GarbageCollectionTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides KernelTestBase::setUp
File
- core/
modules/ system/ src/ Tests/ KeyValueStore/ GarbageCollectionTest.php, line 29 - Contains \Drupal\system\Tests\KeyValueStore\GarbageCollectionTest.
Class
- GarbageCollectionTest
- Tests garbage collection for the expirable key-value database storage.
Namespace
Drupal\system\Tests\KeyValueStoreCode
protected function setUp() {
parent::setUp();
// These additional tables are necessary due to the call to system_cron().
$this
->installSchema('system', array(
'key_value_expire',
'flood',
'queue',
));
}