You are here

protected function CachedStorageTest::delete in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php \Drupal\KernelTests\Core\Config\Storage\CachedStorageTest::delete()

Overrides ConfigStorageTestBase::delete

File

core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php, line 78

Class

CachedStorageTest
Tests CachedStorage operations.

Namespace

Drupal\KernelTests\Core\Config\Storage

Code

protected function delete($name) {
  $this->cache
    ->delete($name);
  unlink($this->fileStorage
    ->getFilePath($name));
}