function MemoryStorageTest::setUp
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php \Drupal\KernelTests\Core\Config\Storage\MemoryStorageTest::setUp()
- 10 core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php \Drupal\KernelTests\Core\Config\Storage\MemoryStorageTest::setUp()
- 11.x core/tests/Drupal/KernelTests/Core/Config/Storage/MemoryStorageTest.php \Drupal\KernelTests\Core\Config\Storage\MemoryStorageTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ MemoryStorageTest.php, line 17
Class
- MemoryStorageTest
- Tests MemoryStorage operations.
Namespace
Drupal\KernelTests\Core\Config\StorageCode
protected function setUp() {
parent::setUp();
$this->storage = new MemoryStorage();
// ::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.