diff --git a/core/modules/block/lib/Drupal/block/Tests/BlockNodeAccessCacheTest.php b/core/modules/block/lib/Drupal/block/Tests/BlockNodeAccessCacheTest.php index a9bd24d..184c529 100644 --- a/core/modules/block/lib/Drupal/block/Tests/BlockNodeAccessCacheTest.php +++ b/core/modules/block/lib/Drupal/block/Tests/BlockNodeAccessCacheTest.php @@ -99,7 +99,7 @@ function testNodeGrantsBypass() { * Private helper method to set the test block's cache mode. */ private function setCacheMode($cache_mode) { - $this->block->getPlugin()->setConfig('cache', $cache_mode); + $this->block->getPlugin()->setConfigurationValue('cache', $cache_mode); $this->block->save(); }