You are here

protected function FileStorageTest::delete in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php \Drupal\KernelTests\Core\Config\Storage\FileStorageTest::delete()
  2. 10 core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php \Drupal\KernelTests\Core\Config\Storage\FileStorageTest::delete()

Overrides ConfigStorageTestBase::delete

File

core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php, line 52

Class

FileStorageTest
Tests FileStorage operations.

Namespace

Drupal\KernelTests\Core\Config\Storage

Code

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