You are here

public function ContentTranslationLocalTasksTest::testBlockAdminDisplay in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php \Drupal\Tests\content_translation\Unit\Menu\ContentTranslationLocalTasksTest::testBlockAdminDisplay()

Tests the block admin display local tasks.

@dataProvider providerTestBlockAdminDisplay

File

core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php, line 43

Class

ContentTranslationLocalTasksTest
Tests content translation local tasks.

Namespace

Drupal\Tests\content_translation\Unit\Menu

Code

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