You are here

protected function ConfigTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/tests/Drupal/Tests/Core/Config/ConfigTest.php \Drupal\Tests\Core\Config\ConfigTest::setUp()
  2. 10 core/modules/system/tests/src/Functional/File/ConfigTest.php \Drupal\Tests\system\Functional\File\ConfigTest::setUp()
Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/File/ConfigTest.php \Drupal\Tests\system\Functional\File\ConfigTest::setUp()
  2. 9 core/modules/system/tests/src/Functional/File/ConfigTest.php \Drupal\Tests\system\Functional\File\ConfigTest::setUp()

Overrides BrowserTestBase::setUp

File

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

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',
  ]));
}