You are here

protected function ConfigImportUploadTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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() {
  parent::setUp();
  $this->webUser = $this
    ->drupalCreateUser([
    'import configuration',
  ]);
  $this
    ->drupalLogin($this->webUser);
}