function EntityDisplayTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/field_ui/tests/src/Functional/EntityDisplayTest.php, line 29

Class

EntityDisplayTest
Tests the UI for entity displays.

Namespace

Drupal\Tests\field_ui\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->drupalLogin($this->drupalCreateUser([
    'administer entity_test display',
  ]));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.