You are here

public function BlockLocalTasksTest::testBlockAdminDisplay in Drupal 9

Same name and namespace in other branches
  1. 8 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 74

Class

BlockLocalTasksTest
Tests block local tasks.

Namespace

Drupal\Tests\block\Unit\Menu

Code

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