public function Maintenance200SettingsTest::testSettingsFormLinkOnMaintenanceUrl in Maintenance 200 8
Check placement of settings form.
File
- tests/
src/ Functional/ Maintenance200SettingsTest.php, line 67
Class
- Maintenance200SettingsTest
- Test maintenance 200 settings.
Namespace
Drupal\Tests\maintenance200\FunctionalCode
public function testSettingsFormLinkOnMaintenanceUrl() {
$maintenance200FormUrl = Url::fromRoute('maintenance200_settings')
->toString();
$this
->drupalGet(Url::fromRoute('system.site_maintenance_mode'));
$this
->assertLinkByHref($maintenance200FormUrl);
}