function ThemeSettingsFormTest::setUp

Same name in other branches
  1. 9 core/modules/system/tests/src/FunctionalJavascript/ThemeSettingsFormTest.php \Drupal\Tests\system\FunctionalJavascript\ThemeSettingsFormTest::setUp()
  2. 8.9.x core/modules/system/tests/src/FunctionalJavascript/ThemeSettingsFormTest.php \Drupal\Tests\system\FunctionalJavascript\ThemeSettingsFormTest::setUp()
  3. 11.x core/modules/system/tests/src/FunctionalJavascript/ThemeSettingsFormTest.php \Drupal\Tests\system\FunctionalJavascript\ThemeSettingsFormTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/FunctionalJavascript/ThemeSettingsFormTest.php, line 33

Class

ThemeSettingsFormTest
Tests that theme form settings works correctly.

Namespace

Drupal\Tests\system\FunctionalJavascript

Code

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

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