Make InitialApiKeyCommand invokable

This commit is contained in:
Alejandro Celaya
2025-11-01 11:41:50 +01:00
parent dfef735c89
commit 2d83b8d046
2 changed files with 15 additions and 19 deletions

View File

@@ -35,7 +35,7 @@ class InitialApiKeyCommandTest extends TestCase
$this->apiKeyService->expects($this->once())->method('createInitial')->with('the_key')->willReturn($result);
$this->commandTester->execute(
['apiKey' => 'the_key'],
['api-key' => 'the_key'],
['verbosity' => $verbose ? OutputInterface::VERBOSITY_VERBOSE : OutputInterface::VERBOSITY_NORMAL],
);
$output = $this->commandTester->getDisplay();