You are here

public function AggregatorLocalTasksTest::testAggregatorAdminLocalTasks in Drupal 8

Same name and namespace in other branches
  1. 9 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 27

Class

AggregatorLocalTasksTest
Tests existence of aggregator local tasks.

Namespace

Drupal\Tests\aggregator\Unit\Menu

Code

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