protected function ConfigExportUITest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/config/tests/src/Functional/ConfigExportUITest.php \Drupal\Tests\config\Functional\ConfigExportUITest::setUp()
Overrides BrowserTestBase::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() {
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',
]));
}