function ConfigImportAllTest::setUp

Same name in other branches
  1. 8.9.x core/modules/config/tests/src/Functional/ConfigImportAllTest.php \Drupal\Tests\config\Functional\ConfigImportAllTest::setUp()
  2. 10 core/modules/config/tests/src/Functional/ConfigImportAllTest.php \Drupal\Tests\config\Functional\ConfigImportAllTest::setUp()
  3. 11.x 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 39

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.