function ColorSafePreviewTest::setUp

Same name in other branches
  1. 9 core/modules/color/tests/src/Functional/ColorSafePreviewTest.php \Drupal\Tests\color\Functional\ColorSafePreviewTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/color/tests/src/Functional/ColorSafePreviewTest.php, line 37

Class

ColorSafePreviewTest
Tests sanitizing color preview loaded from theme.

Namespace

Drupal\Tests\color\Functional

Code

protected function setUp() {
    parent::setUp();
    // Create user.
    $this->bigUser = $this->drupalCreateUser([
        'administer themes',
    ]);
}

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