summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Tests/Views/FrontPageTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/node/src/Tests/Views/FrontPageTest.php')
-rw-r--r--core/modules/node/src/Tests/Views/FrontPageTest.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/modules/node/src/Tests/Views/FrontPageTest.php b/core/modules/node/src/Tests/Views/FrontPageTest.php
index 02999a6..ba8438f 100644
--- a/core/modules/node/src/Tests/Views/FrontPageTest.php
+++ b/core/modules/node/src/Tests/Views/FrontPageTest.php
@@ -260,14 +260,17 @@ class FrontPageTest extends ViewTestBase {
'config:views.view.frontpage',
'node_list',
];
+
+ $render_cache_tags = Cache::mergeTags($empty_node_listing_cache_tags, $cache_context_tags);
+ $render_cache_tags = Cache::mergeTags($render_cache_tags, ['config:system.site']);
$this->assertViewsCacheTags(
$view,
$empty_node_listing_cache_tags,
$do_assert_views_caches,
- Cache::mergeTags($empty_node_listing_cache_tags, $cache_context_tags)
+ $render_cache_tags
);
$expected_tags = Cache::mergeTags($empty_node_listing_cache_tags, $cache_context_tags);
- $expected_tags = Cache::mergeTags($expected_tags, ['rendered', 'config:user.role.anonymous']);
+ $expected_tags = Cache::mergeTags($expected_tags, ['rendered', 'config:user.role.anonymous', 'config:system.site']);
$this->assertPageCacheContextsAndTags(
Url::fromRoute('view.frontpage.page_1'),
$cache_contexts,