diff -u b/core/modules/book/tests/src/Functional/BookTest.php b/core/modules/book/tests/src/Functional/BookTest.php --- b/core/modules/book/tests/src/Functional/BookTest.php +++ b/core/modules/book/tests/src/Functional/BookTest.php @@ -528,16 +528,6 @@ $this->drupalGet('book'); $this->assertSession()->responseContains($this->book->label()); - - // Unpublish the top book page and publish a page in the book and confirm - // that the created book title is not displayed for anonymous. - $this->book->setUnpublished(); - $this->book->save(); - $nodes[0]->setPublished(); - $nodes[0]->save(); - - $this->drupalGet('book'); - $this->assertSession()->responseNotContains($this->book->label()); } /**