Skip to content

Commit

Permalink
Cleanup not used Filter factory from command
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <[email protected]>
  • Loading branch information
Sieg committed Dec 18, 2023
1 parent b104163 commit 0d54f89
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Command/UpdateTypeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class UpdateTypeCommand extends Command
{
public function __construct(
protected SynchronizerInterface $synchronizer,
protected FilterFactoryInterface $filterFactory,
) {
parent::__construct();
}
Expand Down
1 change: 0 additions & 1 deletion tests/Integration/Command/UpdateTypeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public function testUpdateTypeUrls(): void
{
$command = new UpdateTypeCommand(
synchronizer: $dataSynchronizerMock = $this->createMock(Synchronizer::class),
filterFactory: $filterFactoryMock = $this->createMock(FilterFactoryInterface::class),
);

$dataSynchronizerMock->expects($this->once())->method('updateTypeUrls')->with('someType');
Expand Down

0 comments on commit 0d54f89

Please sign in to comment.