function TransformedConfigExportImportUITest::setUp
Same name in other branches
- 9 core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php \Drupal\Tests\config\Functional\TransformedConfigExportImportUITest::setUp()
- 8.9.x core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php \Drupal\Tests\config\Functional\TransformedConfigExportImportUITest::setUp()
- 10 core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php \Drupal\Tests\config\Functional\TransformedConfigExportImportUITest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ config/ tests/ src/ Functional/ TransformedConfigExportImportUITest.php, line 34
Class
- TransformedConfigExportImportUITest
- Tests the user interface for importing/exporting transformed configuration.
Namespace
Drupal\Tests\config\FunctionalCode
protected function setUp() : void {
parent::setUp();
$permissions = [
'export configuration',
'import configuration',
'synchronize configuration',
];
$this->drupalLogin($this->drupalCreateUser($permissions));
// Start off with the sync storage being the same as the active storage.
$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.