diff --git a/core/core.services.yml b/core/core.services.yml index f4e72f2..5a30e73 100644 --- a/core/core.services.yml +++ b/core/core.services.yml @@ -142,14 +142,13 @@ services: arguments: ['@cache_tags.invalidator.checksum'] cache.backend.memory: class: Drupal\Core\Cache\MemoryBackendFactory - arguments: ['@cache_tags.invalidator.checksum'] # A special cache bin that does not persist beyond the length of the request. cache.static: class: Drupal\Core\Cache\CacheBackendInterface tags: - { name: cache.bin, default_backend: cache.backend.memory } factory: cache_factory:get - arguments: [memory] + arguments: [static] cache.bootstrap: class: Drupal\Core\Cache\CacheBackendInterface tags: diff --git a/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php b/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php index 48902ff..925c310 100644 --- a/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @@ -221,7 +221,7 @@ public function testGenerateStaticCache() { $this->cache->expects($this->never()) ->method('set'); - $this->permissionsHash->generate($this->account1); + $this->permissionsHash->generate($this->account2); } /**