public function BookLocalTasksTest::testBookAdminLocalTasks in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php \Drupal\Tests\book\Unit\Menu\BookLocalTasksTest::testBookAdminLocalTasks()
 
Tests local task existence.
@dataProvider getBookAdminRoutes
File
- core/
modules/ book/ tests/ src/ Unit/ Menu/ BookLocalTasksTest.php, line 32  - Contains \Drupal\Tests\book\Unit\Menu\BookLocalTasksTest.
 
Class
- BookLocalTasksTest
 - Tests existence of book local tasks.
 
Namespace
Drupal\Tests\book\Unit\MenuCode
public function testBookAdminLocalTasks($route) {
  $this
    ->assertLocalTasks($route, array(
    0 => array(
      'book.admin',
      'book.settings',
    ),
  ));
}