Skip to content

Commit 7276afd

Browse files
committed
fix command
1 parent 769e9fe commit 7276afd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Command/GenerateCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ public function testGenerationWithoutConfigFileQuestion(): void
554554
{
555555
// No config file is given.
556556
$application = new Application();
557-
$application->add(new GenerateCommand());
557+
$application->addCommand(new GenerateCommand());
558558

559559
$command = $application->find('generate');
560560
$commandTester = new CommandTester($command);

0 commit comments

Comments
 (0)