You are here

protected function ManageFieldsTest::setUp in Drupal 9

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

Overrides BrowserTestBase::setUp

File

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

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();
  $account = $this
    ->drupalCreateUser([
    'administer node fields',
  ]);
  $this
    ->drupalLogin($account);
  $this
    ->config('system.logging')
    ->set('error_level', ERROR_REPORTING_DISPLAY_ALL)
    ->save();
}