function ConfigImportUITest::setUp
Overrides BrowserTestBase::setUp
File
- 
              core/modules/ config/ tests/ src/ Functional/ ConfigImportUITest.php, line 45 
Class
- ConfigImportUITest
- Tests the user interface for importing configuration.
Namespace
Drupal\Tests\config\FunctionalCode
protected function setUp() : void {
  parent::setUp();
  $this->webUser = $this->drupalCreateUser([
    'synchronize configuration',
  ]);
  $this->drupalLogin($this->webUser);
  $this->copyConfig($this->container
    ->get('config.storage'), $this->container
    ->get('config.storage.sync'));
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
