You are here

protected function ExperimentalThemeTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/Theme/ExperimentalThemeTest.php \Drupal\Tests\system\Functional\Theme\ExperimentalThemeTest::setUp()
  2. 9 core/modules/system/tests/src/Functional/Theme/ExperimentalThemeTest.php \Drupal\Tests\system\Functional\Theme\ExperimentalThemeTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Theme/ExperimentalThemeTest.php, line 29

Class

ExperimentalThemeTest
Tests the installation of experimental themes.

Namespace

Drupal\Tests\system\Functional\Theme

Code

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