You are here

public function LoggerChannelPartTest::providerTestCritical in Purge 8.3

Provides test data for testCritical().

File

tests/src/Unit/Logger/LoggerChannelPartTest.php, line 140

Class

LoggerChannelPartTest
@coversDefaultClass \Drupal\purge\Logger\LoggerChannelPart

Namespace

Drupal\Tests\purge\Unit\Logger

Code

public function providerTestCritical() : array {
  return [
    [
      'good',
      [
        RfcLogLevel::CRITICAL,
      ],
      'bazinga!',
    ],
    [
      'bad',
      [
        -1,
      ],
      NULL,
    ],
  ];
}