Skip to content

Commit d255819

Browse files
committed
fix(tests): Fix DevToolsCommandLoaderTest
1 parent eea3011 commit d255819

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/Console/CommandLoader/DevToolsCommandLoaderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
use Prophecy\Argument;
3030
use Prophecy\PhpUnit\ProphecyTrait;
3131
use Psr\Container\ContainerInterface;
32+
use Symfony\Component\Console\Command\Command;
3233
use Symfony\Component\Finder\Finder;
3334
use Symfony\Component\Finder\SplFileInfo;
3435

@@ -46,7 +47,7 @@ final class DevToolsCommandLoaderTest extends TestCase
4647
public function constructorWillRegisterOnlyInstantiableCommands(): void
4748
{
4849
$commandDirectory = \dirname(__DIR__, 3) . '/src/Console/Command';
49-
$command = $this->prophesize(CodeStyleCommand::class);
50+
$command = $this->prophesize(Command::class);
5051

5152
$finder = $this->prophesize(Finder::class);
5253
$finder->files()

0 commit comments

Comments
 (0)