You are here

protected function CachedStorageTest::update in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/config/src/Tests/Storage/CachedStorageTest.php \Drupal\config\Tests\Storage\CachedStorageTest::update()

Overrides ConfigStorageTestBase::update

File

core/modules/config/src/Tests/Storage/CachedStorageTest.php, line 75
Contains \Drupal\config\Tests\Storage\CachedStorageTest.

Class

CachedStorageTest
Tests CachedStorage operations.

Namespace

Drupal\config\Tests\Storage

Code

protected function update($name, $data) {
  $this->fileStorage
    ->write($name, $data);
  $this->cache
    ->set($name, $data);
}