You are here

public function ActionLocalTasksTest::testActionLocalTasks in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php \Drupal\Tests\action\Unit\Menu\ActionLocalTasksTest::testActionLocalTasks()

Tests local task existence.

File

core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php, line 27
Contains \Drupal\Tests\action\Unit\Menu\ActionLocalTasksTest.

Class

ActionLocalTasksTest
Tests action local tasks.

Namespace

Drupal\Tests\action\Unit\Menu

Code

public function testActionLocalTasks() {
  $this
    ->assertLocalTasks('entity.action.collection', array(
    array(
      'action.admin',
    ),
  ));
}