protected function ManagedStorageTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Config/Storage/ManagedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\ManagedStorageTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ ManagedStorageTest.php, line 28
Class
- ManagedStorageTest
- Tests ManagedStorage operations.
Namespace
Drupal\KernelTests\Core\Config\StorageCode
protected function setUp() : void {
parent::setUp();
$this->storage = new ManagedStorage($this);
// ::listAll() verifications require other configuration data to exist.
$this->storage
->write('system.performance', []);
}