public function SettingsFormTest::testSettingsPageExists in Nagios Monitoring 8
Tests that the 'admin/config/system/nagios' path returns the right content
File
- tests/
src/ Functional/ SettingsFormTest.php, line 65
Class
- SettingsFormTest
- Tests the settings form functionality
Namespace
Drupal\Tests\nagios\FunctionalCode
public function testSettingsPageExists() {
$this
->drupalLogin($this->settingsUser);
$this
->drupalGet(self::SETTINGS_PATH);
$this
->assertSession()
->statusCodeEquals(200);
$this
->assertSession()
->pageTextContains('Unique ID');
}