public function LoggerChannelPartTest::providerTestGetGrants in Purge 8.3
Provides test data for testGetGrants().
File
- tests/
src/ Unit/ Logger/ LoggerChannelPartTest.php, line 75
Class
- LoggerChannelPartTest
- @coversDefaultClass \Drupal\purge\Logger\LoggerChannelPart
Namespace
Drupal\Tests\purge\Unit\LoggerCode
public function providerTestGetGrants() : array {
return [
[
[],
],
[
[
RfcLogLevel::EMERGENCY,
],
],
[
[
RfcLogLevel::ALERT,
],
],
[
[
RfcLogLevel::CRITICAL,
],
],
[
[
RfcLogLevel::ERROR,
],
],
[
[
RfcLogLevel::WARNING,
],
],
[
[
RfcLogLevel::NOTICE,
],
],
[
[
RfcLogLevel::INFO,
],
],
[
[
RfcLogLevel::INFO,
RfcLogLevel::DEBUG,
],
],
[
[
RfcLogLevel::DEBUG,
],
],
];
}