You are here

public function BlockLocalTasksTest::testBlockAdminLocalTasks 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::testBlockAdminLocalTasks()

Tests the admin edit local task.

File

core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php, line 65

Class

BlockLocalTasksTest
Tests block local tasks.

Namespace

Drupal\Tests\block\Unit\Menu

Code

public function testBlockAdminLocalTasks() {
  $this
    ->assertLocalTasks('entity.block.edit_form', [
    [
      'entity.block.edit_form',
    ],
  ]);
}