You are here

public function LoggerChannelPartTest::providerTestNotice in Purge 8.3

Provides test data for testNotice().

File

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

Class

LoggerChannelPartTest
@coversDefaultClass \Drupal\purge\Logger\LoggerChannelPart

Namespace

Drupal\Tests\purge\Unit\Logger

Code

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