You are here

protected function CustomHookCheckTest::setUp in Nagios Monitoring 8

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

Overrides KernelTestBase::setUp

File

tests/src/Kernel/CustomHookCheckTest.php, line 30

Class

CustomHookCheckTest
Tests if external module's hook is executed

Namespace

Drupal\Tests\nagios\Kernel

Code

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