protected function GarbageCollectionTest::setUp in Drupal 8
Overrides KernelTestBase::setUp
File
- core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ GarbageCollectionTest.php, line 24
Class
- GarbageCollectionTest
- Tests garbage collection for the expirable key-value database storage.
Namespace
Drupal\KernelTests\Core\KeyValueStoreCode
protected function setUp() {
parent::setUp();
// These additional tables are necessary due to the call to system_cron().
$this
->installSchema('system', [
'key_value_expire',
]);
}