Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit bfbe674

Browse files
committed
🚒
1 parent cf2a161 commit bfbe674

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/StorageTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
ClassLoader, DotEnv
2626
};
2727
use PHPUnit\Framework\TestCase;
28+
use Psr\Log\NullLogger;
2829

2930
class StorageTest extends TestCase{
3031
use ClassLoader;
@@ -89,7 +90,7 @@ protected function initStorage($storageInterface):void{
8990
$db = null;
9091

9192
if($storageInterface === DBTokenStorage::class){
92-
$db = new Database($this->options);
93+
$db = new Database($this->options, null, new NullLogger);
9394

9495
$db->connect();
9596
$db->drop->table($this::TABLE_TOKEN)->query();

0 commit comments

Comments
 (0)