public function LoggerChannelPartTest::providerTestWarning in Purge 8.3
Provides test data for testWarning().
File
- tests/
src/ Unit/ Logger/ LoggerChannelPartTest.php, line 178
Class
- LoggerChannelPartTest
- @coversDefaultClass \Drupal\purge\Logger\LoggerChannelPart
Namespace
Drupal\Tests\purge\Unit\LoggerCode
public function providerTestWarning() : array {
return [
[
'good',
[
RfcLogLevel::WARNING,
],
'bazinga!',
],
[
'bad',
[
-1,
],
NULL,
],
];
}