6 calls to BookTestTrait::createBookNode() in Drupal 8
- BookTest::testBook in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - Tests book functionality through node interfaces.
- BookTest::testBookOutline in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - Tests outline of a book.
- BookTest::testEmptyBook in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - Tests saving the book outline on an empty book.
- BookTest::testGetTableOfContents in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - Tests BookManager::getTableOfContents().
- BookTest::testHookNodeLoadAccess in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - Ensure the loaded book in hook_node_load() does not depend on the user.
- BookTestTrait::createBook in core/
modules/ book/ tests/ src/ Functional/ BookTestTrait.php - Creates a new book with a page hierarchy.