You are here

protected function KernelTestBase::setUp in Key value field 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/KernelTestBase.php, line 31

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\Tests\key_value_field\Kernel

Code

protected function setUp() {
  FileCacheFactory::setPrefix(Settings::getApcuPrefix('file_cache', $this->root));
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('entity_test');
  $this
    ->installConfig([
    'filter',
  ]);
  $this
    ->installConfig([
    'key_value_field',
  ]);
}