protected function ConfigExportImportUITest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/config/tests/src/Functional/ConfigExportImportUITest.php \Drupal\Tests\config\Functional\ConfigExportImportUITest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ config/ tests/ src/ Functional/ ConfigExportImportUITest.php, line 79
Class
- ConfigExportImportUITest
- Tests the user interface for importing/exporting configuration.
Namespace
Drupal\Tests\config\FunctionalCode
protected function setUp() {
parent::setUp();
// The initial import must be done with uid 1 because if separately named
// roles are created then the role is lost after import. If the roles
// created have the same name then the sync will fail because they will
// have different UUIDs.
$this
->drupalLogin($this->rootUser);
}