You are here

public function LanguageLocalTasksTest::testLanguageAdminLocalTasks in Drupal 9

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

Tests language admin overview local tasks existence.

@dataProvider getLanguageAdminOverviewRoutes

File

core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php, line 26

Class

LanguageLocalTasksTest
Tests existence of language local tasks.

Namespace

Drupal\Tests\language\Unit\Menu

Code

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