function ColorConfigSchemaTest::setUp

Same name and namespace in other branches
  1. 8.9.x core/modules/color/tests/src/Functional/ColorConfigSchemaTest.php \Drupal\Tests\color\Functional\ColorConfigSchemaTest::setUp()

Overrides BrowserTestBase::setUp

File

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

Class

ColorConfigSchemaTest
Ensures the color config schema is correct.

Namespace

Drupal\Tests\color\Functional

Code

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

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