You are here

protected function ConfigSnapshotStorageTest::setUp in Config Snapshot 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/ConfigSnapshotStorageTest.php, line 29

Class

ConfigSnapshotStorageTest
Tests ConfigSnapshotStorage operations.

Namespace

Drupal\Tests\config_snapshot\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('config_snapshot');
  $this->storage = new ConfigSnapshotStorage('example', 'module', 'example_module');

  // ::listAll() verifications require other configuration data to exist.
  $this->storage
    ->write('system.performance', []);
}