diff --git a/test/LoggerTest.php b/test/LoggerTest.php index 03a815a..5416169 100644 --- a/test/LoggerTest.php +++ b/test/LoggerTest.php @@ -17,10 +17,8 @@ use Exception; use Laminas\ServiceManager\Exception\ServiceNotFoundException; use Laminas\Stdlib\SplPriorityQueue; -use Laminas\Validator\Digits; use PHPUnit\Framework\TestCase; -use function class_exists; use function count; use function set_exception_handler; @@ -130,16 +128,10 @@ public function testAddFilter(): void public static function provideTestFilters(): array { - $data = [ + return [ ['priority', ['priority' => Logger::INFO]], ['regex', ['regex' => '/[0-9]+/']], ]; - - if (class_exists(Digits::class)) { - $data[] = ['validator', ['validator' => new Digits()]]; - } - - return $data; } /**