Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Oct 7, 2024
1 parent 39f98b9 commit 769d3aa
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/unit/Command/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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));
}

/**
Expand Down

0 comments on commit 769d3aa

Please sign in to comment.