You are here

protected function LocalTasksTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php \Drupal\Tests\system\Functional\Menu\LocalTasksTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php, line 38

Class

LocalTasksTest
Tests local tasks derived from router and added/altered via hooks.

Namespace

Drupal\Tests\system\Functional\Menu

Code

protected function setUp() : void {
  parent::setUp();
  $this->sut = $this
    ->drupalPlaceBlock('local_tasks_block', [
    'id' => 'tabs_block',
  ]);
}