protected function Maintenance200SettingsTest::setUp in Maintenance 200 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ Maintenance200SettingsTest.php, line 43
Class
- Maintenance200SettingsTest
- Test maintenance 200 settings.
Namespace
Drupal\Tests\maintenance200\FunctionalCode
protected function setUp() {
parent::setUp();
$this->sut = $this
->drupalPlaceBlock('local_tasks_block', [
'id' => 'tabs_block',
]);
$this->adminUser = $this
->drupalCreateUser([
'administer site configuration',
'access site in maintenance mode',
]);
$this
->drupalLogin($this->adminUser);
}