You are here

protected function ThemeSettingsFormTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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 31

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);
}