You are here

public function LoggerChannelPartTest::providerTestInfo in Purge 8.3

Provides test data for testInfo().

File

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

Class

LoggerChannelPartTest
@coversDefaultClass \Drupal\purge\Logger\LoggerChannelPart

Namespace

Drupal\Tests\purge\Unit\Logger

Code

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