You are here

public function AggregatorLocalTasksTest::testAggregatorAdminLocalTasks in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/aggregator/tests/src/Unit/Menu/AggregatorLocalTasksTest.php \Drupal\Tests\aggregator\Unit\Menu\AggregatorLocalTasksTest::testAggregatorAdminLocalTasks()

Tests local task existence.

@dataProvider getAggregatorAdminRoutes

File

core/modules/aggregator/tests/src/Unit/Menu/AggregatorLocalTasksTest.php, line 32
Contains \Drupal\Tests\aggregator\Unit\Menu\AggregatorLocalTasksTest.

Class

AggregatorLocalTasksTest
Tests existence of aggregator local tasks.

Namespace

Drupal\Tests\aggregator\Unit\Menu

Code

public function testAggregatorAdminLocalTasks($route) {
  $this
    ->assertLocalTasks($route, array(
    0 => array(
      'aggregator.admin_overview',
      'aggregator.admin_settings',
    ),
  ));
}