function ConfigTest::setUp

Same name in this branch
  1. 10 core/tests/Drupal/Tests/Core/Config/ConfigTest.php \Drupal\Tests\Core\Config\ConfigTest::setUp()
Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/File/ConfigTest.php \Drupal\Tests\system\Functional\File\ConfigTest::setUp()
  2. 9 core/tests/Drupal/Tests/Core/Config/ConfigTest.php \Drupal\Tests\Core\Config\ConfigTest::setUp()
  3. 8.9.x core/modules/system/tests/src/Functional/File/ConfigTest.php \Drupal\Tests\system\Functional\File\ConfigTest::setUp()
  4. 8.9.x core/tests/Drupal/Tests/Core/Config/ConfigTest.php \Drupal\Tests\Core\Config\ConfigTest::setUp()
  5. 11.x core/modules/system/tests/src/Functional/File/ConfigTest.php \Drupal\Tests\system\Functional\File\ConfigTest::setUp()
  6. 11.x core/tests/Drupal/Tests/Core/Config/ConfigTest.php \Drupal\Tests\Core\Config\ConfigTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/File/ConfigTest.php, line 24

Class

ConfigTest
Tests file system configuration operations.

Namespace

Drupal\Tests\system\Functional\File

Code

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

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