You are here

private function WatchdogCheckTest::assertAllGreen in Nagios Monitoring 8

3 calls to WatchdogCheckTest::assertAllGreen()
WatchdogCheckTest::testEmptyWatchdog in tests/src/Kernel/WatchdogCheckTest.php
WatchdogCheckTest::testWithLevelError in tests/src/Kernel/WatchdogCheckTest.php
WatchdogCheckTest::testWithLevelWarning in tests/src/Kernel/WatchdogCheckTest.php

File

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

Class

WatchdogCheckTest
Tests the functionality to report dblog/watchdog entries.

Namespace

Drupal\Tests\nagios\Kernel

Code

private function assertAllGreen() {
  $expected = [
    'status' => 0,
    'type' => 'state',
    'text' => '',
  ];
  self::expectWatchdog($expected);
}