You are here

protected function SettingsFormTest::setUp in Nagios Monitoring 8

Perform any initial set up tasks that run before every test method

Overrides BrowserTestBase::setUp

File

tests/src/Functional/SettingsFormTest.php, line 56

Class

SettingsFormTest
Tests the settings form functionality

Namespace

Drupal\Tests\nagios\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->settingsUser = $this
    ->drupalCreateUser([
    'administer site configuration',
  ]);
  $this->modulesUser = $this
    ->drupalCreateUser([
    'administer nagios ignore',
  ]);
}