function GenericCacheBackendUnitTestBase::tearDownCacheBackend
Same name in this branch
- 8.9.x core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php \Drupal\KernelTests\Core\Cache\GenericCacheBackendUnitTestBase::tearDownCacheBackend()
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php \Drupal\KernelTests\Core\Cache\GenericCacheBackendUnitTestBase::tearDownCacheBackend()
- 10 core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php \Drupal\KernelTests\Core\Cache\GenericCacheBackendUnitTestBase::tearDownCacheBackend()
- 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/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Performs cleanup tasks after each individual test method has been run.
File
-
core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php, line 88
Class
- GenericCacheBackendUnitTestBase
- Tests any cache backend.
Namespace
Drupal\system\Tests\CacheCode
public function tearDownCacheBackend() {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.