You are here

protected function ThemeTokenTest::setUp in Drupal 8

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

Overrides BrowserTestBase::setUp

File

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

Class

ThemeTokenTest
Tests the generation of 'theme_token' key in Drupal settings.

Namespace

Drupal\Tests\system\Functional\Theme

Code

protected function setUp() {
  parent::setUp();
  $account = $this
    ->drupalCreateUser([
    'administer blocks',
    'view the administration theme',
  ]);
  $this
    ->drupalLogin($account);
}