diff --git a/tests/unit/Command/ParserTest.php b/tests/unit/Command/ParserTest.php index 0fe28dc..bec7f9b 100644 --- a/tests/unit/Command/ParserTest.php +++ b/tests/unit/Command/ParserTest.php @@ -2,7 +2,6 @@ namespace ChessServer\Tests\Unit\Command; -use ChessServer\Db; use ChessServer\Command\Parser; use ChessServer\Command\Game\AcceptPlayRequestCommand; use ChessServer\Command\Game\Cli; @@ -22,11 +21,7 @@ public function setUp(): void ->disableOriginalConstructor() ->getMock(); - $db = $this->getMockBuilder(Db::class) - ->disableOriginalConstructor() - ->getMock(); - - self::$parser = new Parser(new Cli($pool, $db)); + self::$parser = new Parser(new Cli($pool)); } /**