You are here

protected function FieldUIRouteTest::setUp in Drupal 9

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

Overrides BrowserTestBase::setUp

File

core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php, line 31

Class

FieldUIRouteTest
Tests the functionality of the Field UI route subscriber.

Namespace

Drupal\Tests\field_ui\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->drupalLogin($this->rootUser);
  $this
    ->drupalPlaceBlock('local_tasks_block');
}