You are here

protected function ConfigImportUploadTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/config/tests/src/Functional/ConfigImportUploadTest.php \Drupal\Tests\config\Functional\ConfigImportUploadTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/config/tests/src/Functional/ConfigImportUploadTest.php, line 37

Class

ConfigImportUploadTest
Tests importing configuration from an uploaded file.

Namespace

Drupal\Tests\config\Functional

Code

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