You are here

public function ContentTranslationLocalTasksTest::testBlockAdminDisplay in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 47
Contains \Drupal\Tests\content_translation\Unit\Menu\ContentTranslationLocalTasksTest.

Class

ContentTranslationLocalTasksTest
Tests content translation local tasks.

Namespace

Drupal\Tests\content_translation\Unit\Menu

Code

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