You are here

public function BlockLocalTasksTest::testBlockAdminDisplay in Zircon Profile 8

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

Tests the block admin display local tasks.

@dataProvider providerTestBlockAdminDisplay

File

core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php, line 79
Contains \Drupal\Tests\block\Unit\Menu\BlockLocalTasksTest.

Class

BlockLocalTasksTest
Tests block local tasks.

Namespace

Drupal\Tests\block\Unit\Menu

Code

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