protected function ConfigExportUITest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config/tests/src/Functional/ConfigExportUITest.php \Drupal\Tests\config\Functional\ConfigExportUITest::setUp()
- 9 core/modules/config/tests/src/Functional/ConfigExportUITest.php \Drupal\Tests\config\Functional\ConfigExportUITest::setUp()
File
- core/
modules/ config/ tests/ src/ Functional/ ConfigExportUITest.php, line 32
Class
- ConfigExportUITest
- Tests the user interface for exporting configuration.
Namespace
Drupal\Tests\config\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Set up an override.
$settings['config']['system.maintenance']['message'] = (object) [
'value' => 'Foo',
'required' => TRUE,
];
$this
->writeSettings($settings);
$this
->drupalLogin($this
->drupalCreateUser([
'export configuration',
]));
}