function ManagedStorageTest::setUp

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\ManagedStorageTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\ManagedStorageTest::setUp()
  3. 8.9.x core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\ManagedStorageTest::setUp()

File

core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php, line 28

Class

ManagedStorageTest
Tests ManagedStorage operations.

Namespace

Drupal\KernelTests\Core\Config\Storage

Code

protected function setUp() : void {
  parent::setUp();
  $this->storage = new ManagedStorage($this);
  // ::listAll() verifications require other configuration data to exist.
  $this->storage
    ->write('system.performance', []);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.