diff --git a/core/modules/forum/src/Tests/ForumIndexTest.php b/core/modules/forum/src/Tests/ForumIndexTest.php index b9ee537..2dc0310 100644 --- a/core/modules/forum/src/Tests/ForumIndexTest.php +++ b/core/modules/forum/src/Tests/ForumIndexTest.php @@ -58,6 +58,7 @@ function testForumIndexStatus() { // Verify that the node appears on the index. $this->drupalGet('forum/' . $tid); $this->assertText($title, 'Published forum topic appears on index.'); + $this->assertCacheTag('node_list'); // Unpublish the node. $this->drupalPostForm('node/' . $node->id() . '/edit', array(), t('Save and unpublish'));