public function BlockLocalTasksTest::testBlockAdminDisplay in Drupal 9
Same name and namespace in other branches
- 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\MenuCode
public function testBlockAdminDisplay($route, $expected) {
$this
->assertLocalTasks($route, $expected);
}