function ConfigImportAllTest::setUp

Same name and namespace in other branches
  1. 9 core/modules/config/tests/src/Functional/ConfigImportAllTest.php \Drupal\Tests\config\Functional\ConfigImportAllTest::setUp()
  2. 8.9.x core/modules/config/tests/src/Functional/ConfigImportAllTest.php \Drupal\Tests\config\Functional\ConfigImportAllTest::setUp()
  3. 10 core/modules/config/tests/src/Functional/ConfigImportAllTest.php \Drupal\Tests\config\Functional\ConfigImportAllTest::setUp()

Overrides ModuleTestBase::setUp

File

core/modules/config/tests/src/Functional/ConfigImportAllTest.php, line 53

Class

ConfigImportAllTest
Tests the largest configuration import possible with all available modules.

Namespace

Drupal\Tests\config\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->webUser = $this->drupalCreateUser([
        'synchronize configuration',
    ]);
    $this->drupalLogin($this->webUser);
}

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