function ManageFieldsTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/field_ui/tests/src/Functional/ManageFieldsTest.php, line 50

Class

ManageFieldsTest
Tests the Manage Display page of a fieldable entity type.

Namespace

Drupal\Tests\field_ui\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->adminUser = $this->drupalCreateUser([
    'administer node fields',
  ]);
  $this->drupalLogin($this->adminUser);
  $this->config('system.logging')
    ->set('error_level', ERROR_REPORTING_DISPLAY_ALL)
    ->save();
}

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