protected function ConfigImportUITest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/config/tests/src/Functional/ConfigImportUITest.php \Drupal\Tests\config\Functional\ConfigImportUITest::setUp()
- 10 core/modules/config/tests/src/Functional/ConfigImportUITest.php \Drupal\Tests\config\Functional\ConfigImportUITest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ config/ tests/ src/ Functional/ ConfigImportUITest.php, line 42
Class
- ConfigImportUITest
- Tests the user interface for importing configuration.
Namespace
Drupal\Tests\config\FunctionalCode
protected function setUp() {
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'));
}