You are here

protected function MaintenanceModeTest::setUp in Nagios Monitoring 8

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

Overrides EntityKernelTestBase::setUp

File

tests/src/Kernel/MaintenanceModeTest.php, line 31

Class

MaintenanceModeTest
Tests the functionality to monitor cron.

Namespace

Drupal\Tests\nagios\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig('nagios');
  StatuspageController::setNagiosStatusConstants();
}