You are here

public function ConfigLocalTasksTest::testConfigAdminLocalTasks in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php \Drupal\Tests\config\Unit\Menu\ConfigLocalTasksTest::testConfigAdminLocalTasks()
  2. 10 core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php \Drupal\Tests\config\Unit\Menu\ConfigLocalTasksTest::testConfigAdminLocalTasks()

Tests config local tasks existence.

@dataProvider getConfigAdminRoutes

File

core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php, line 24

Class

ConfigLocalTasksTest
Tests existence of config local tasks.

Namespace

Drupal\Tests\config\Unit\Menu

Code

public function testConfigAdminLocalTasks($route, $expected) {
  $this
    ->assertLocalTasks($route, $expected);
}