Skip to content

Commit

Permalink
removed unnecesary test input
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergiu committed Sep 12, 2024
1 parent 7a790a1 commit 71cace4
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions test/LoggerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 71cace4

Please sign in to comment.