summaryrefslogtreecommitdiffstats
path: root/core/modules/block/src/Tests/BlockViewBuilderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/block/src/Tests/BlockViewBuilderTest.php')
-rw-r--r--core/modules/block/src/Tests/BlockViewBuilderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/block/src/Tests/BlockViewBuilderTest.php b/core/modules/block/src/Tests/BlockViewBuilderTest.php
index e0ee522..ff2f655 100644
--- a/core/modules/block/src/Tests/BlockViewBuilderTest.php
+++ b/core/modules/block/src/Tests/BlockViewBuilderTest.php
@@ -151,7 +151,7 @@ class BlockViewBuilderTest extends KernelTestBase {
// Test that entities with caching disabled do not generate a cache entry.
$build = $this->getBlockRenderArray();
- $this->assertTrue(isset($build['#cache']) && array_keys($build['#cache']) == array('tags', 'max-age'), 'The render array element of uncacheable blocks is not cached, but does have cache tags & max-age set.');
+ $this->assertTrue(isset($build['#cache']) && array_keys($build['#cache']) == array('contexts', 'tags', 'max-age'), 'The render array element of uncacheable blocks is not cached, but does have cache contexts, tags & max-age set.');
// Enable block caching.
$this->setBlockCacheConfig(array(