diff --git a/core/modules/book/src/Tests/BookTest.php b/core/modules/book/src/Tests/BookTest.php index dd7294a..664170d 100644 --- a/core/modules/book/src/Tests/BookTest.php +++ b/core/modules/book/src/Tests/BookTest.php @@ -65,15 +65,6 @@ protected function setUp() { } /** - * Test that we can save a book programatically. - */ - public function testBookApi() { - $this->drupalLogin($this->book_author); - $book = $this->createBookNode('new'); - $book->save(); - } - - /** * Creates a new book with a page hierarchy. */ function createBook() { @@ -175,6 +166,11 @@ function testBook() { $this->book = $other_book; $this->checkBookNode($other_book, array($node), FALSE, FALSE, $node, array()); $this->checkBookNode($node, NULL, $other_book, $other_book, FALSE, array($other_book)); + + // Test that we can save a book programatically. + $this->drupalLogin($this->book_author); + $book = $this->createBookNode('new'); + $book->save(); } /**