You are here

protected function ApcuBackendTest::tearDown in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Cache/ApcuBackendTest.php \Drupal\KernelTests\Core\Cache\ApcuBackendTest::tearDown()

Overrides GenericCacheBackendUnitTestBase::tearDown

File

core/tests/Drupal/KernelTests/Core/Cache/ApcuBackendTest.php, line 25

Class

ApcuBackendTest
Tests the APCu cache backend.

Namespace

Drupal\KernelTests\Core\Cache

Code

protected function tearDown() {
  foreach ($this->cachebackends as $bin => $cachebackend) {
    $this->cachebackends[$bin]
      ->removeBin();
  }
  parent::tearDown();
}