From 769d3aae240453e4319f3d7204c22df4e1d144fd Mon Sep 17 00:00:00 2001 From: programarivm Date: Mon, 7 Oct 2024 23:34:19 +0200 Subject: [PATCH] Updated tests --- tests/unit/Command/ParserTest.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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)); } /**