protected function CachedStorageTest::insert in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\CachedStorageTest::insert()
Overrides ConfigStorageTestBase::insert
File
- core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ CachedStorageTest.php, line 62
Class
- CachedStorageTest
- Tests CachedStorage operations.
Namespace
Drupal\KernelTests\Core\Config\StorageCode
protected function insert($name, $data) {
$this->fileStorage
->write($name, $data);
$this->cache
->set($name, $data);
}