You are here

protected function WatchdogCheckTest::setUp in Nagios Monitoring 8

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

Overrides EntityKernelTestBase::setUp

File

tests/src/Kernel/WatchdogCheckTest.php, line 28

Class

WatchdogCheckTest
Tests the functionality to report dblog/watchdog entries.

Namespace

Drupal\Tests\nagios\Kernel

Code

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