function DevelopmentSettingsFormTest::setUp

Same name in other branches
  1. 11.x core/modules/system/tests/src/FunctionalJavascript/Form/DevelopmentSettingsFormTest.php \Drupal\Tests\system\FunctionalJavascript\Form\DevelopmentSettingsFormTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/FunctionalJavascript/Form/DevelopmentSettingsFormTest.php, line 32

Class

DevelopmentSettingsFormTest
Tests development settings form items for expected behavior.

Namespace

Drupal\Tests\system\FunctionalJavascript\Form

Code

protected function setUp() : void {
    parent::setUp();
    $admin_user = $this->drupalCreateUser([
        'administer site configuration',
    ]);
    $this->drupalLogin($admin_user);
}

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