public function DatabaseBackendTest::testCacheTagsInvalidatorChecksumIsBackendOverridable in Drupal 10
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTest.php \Drupal\KernelTests\Core\Cache\DatabaseBackendTest::testCacheTagsInvalidatorChecksumIsBackendOverridable()
Test that the service "cache_tags.invalidator.checksum" is backend overridable.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Cache/ DatabaseBackendTest.php, line 109
Class
- DatabaseBackendTest
- Unit test of the database backend using the generic cache unit test base.
Namespace
Drupal\KernelTests\Core\CacheCode
public function testCacheTagsInvalidatorChecksumIsBackendOverridable() {
$definition = $this->container
->getDefinition('cache_tags.invalidator.checksum');
$this
->assertTrue($definition
->hasTag('backend_overridable'));
}