function GenericCacheBackendUnitTestBase::tearDownCacheBackend

Same name in this branch
  1. 8.9.x core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php \Drupal\system\Tests\Cache\GenericCacheBackendUnitTestBase::tearDownCacheBackend()
Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php \Drupal\KernelTests\Core\Cache\GenericCacheBackendUnitTestBase::tearDownCacheBackend()
  2. 10 core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php \Drupal\KernelTests\Core\Cache\GenericCacheBackendUnitTestBase::tearDownCacheBackend()
  3. 11.x core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php \Drupal\KernelTests\Core\Cache\GenericCacheBackendUnitTestBase::tearDownCacheBackend()

Allows alteration of environment after a test run but before tear down.

Used before the real tear down because the tear down will change things such as the database prefix.

1 call to GenericCacheBackendUnitTestBase::tearDownCacheBackend()
GenericCacheBackendUnitTestBase::tearDown in core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php

File

core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php, line 83

Class

GenericCacheBackendUnitTestBase
Tests any cache backend.

Namespace

Drupal\KernelTests\Core\Cache

Code

public function tearDownCacheBackend() {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.