You are here

protected function ApcuBackendUnitTest::tearDown in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Cache/ApcuBackendUnitTest.php \Drupal\system\Tests\Cache\ApcuBackendUnitTest::tearDown()

Performs cleanup tasks after each individual test method has been run.

Overrides GenericCacheBackendUnitTestBase::tearDown

File

core/modules/system/src/Tests/Cache/ApcuBackendUnitTest.php, line 75
Contains \Drupal\system\Tests\Cache\ApcuBackendUnitTest.

Class

ApcuBackendUnitTest
Tests the APCu cache backend.

Namespace

Drupal\system\Tests\Cache

Code

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