diff -u b/core/tests/Drupal/Tests/Core/Cache/InconsistentBackendTest.php b/core/tests/Drupal/Tests/Core/Cache/InconsistentBackendTest.php --- b/core/tests/Drupal/Tests/Core/Cache/InconsistentBackendTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/InconsistentBackendTest.php @@ -3,7 +3,7 @@ namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\MemoryBackend; -use Drupal\Core\Cache\InconsistentBackend; +use Drupal\Core\Cache\ChainedConsistentAndInconsistentBackend; use Drupal\Core\KeyValueStore\StateInterface; use Drupal\Tests\UnitTestCase; @@ -32,7 +32,7 @@ ->method("get") ->will($this->returnValue(1234)); - $inconsistent_backend = new InconsistentBackend( + $inconsistent_backend = new ChainedConsistentAndInconsistentBackend( $this->consistent_cache, $this->inconsistent_cache, $this->bin, @@ -52,7 +52,7 @@ ->method("get") ->will($this->returnValue(time() + 99999)); - $inconsistent_backend = new InconsistentBackend( + $inconsistent_backend = new ChainedConsistentAndInconsistentBackend( $this->consistent_cache, $this->inconsistent_cache, $this->bin,