diff --git a/core/modules/taxonomy/tests/src/Functional/TaxonomyTermContentModerationTest.php b/core/modules/taxonomy/tests/src/Functional/TaxonomyTermContentModerationTest.php index 67495ee..18437d3 100644 --- a/core/modules/taxonomy/tests/src/Functional/TaxonomyTermContentModerationTest.php +++ b/core/modules/taxonomy/tests/src/Functional/TaxonomyTermContentModerationTest.php @@ -189,6 +189,11 @@ public function testTaxonomyTermPendingRevisions() { $this->assertSession()->pageTextContains($pending_term_name); $this->assertSession()->pageTextContains($pending_term_description); $this->assertSession()->pageTextNotContains($default_term_description); + + // Check that the default revision of the term contains the correct values. + $this->drupalGet('taxonomy/term/' . $term->id()); + $this->assertSession()->pageTextContains($default_term_name); + $this->assertSession()->pageTextContains($default_term_description); } }