Changed to kebab-case for CLI flags in command tests

This commit is contained in:
Alejandro Celaya
2021-01-30 11:25:20 +01:00
parent 248d5e2fe5
commit 752ded2f80
5 changed files with 16 additions and 16 deletions

View File

@@ -55,7 +55,7 @@ class GenerateKeyCommandTest extends TestCase
$this->apiKeyService->create(Argument::type(Chronos::class))->shouldBeCalledOnce()
->willReturn(new ApiKey());
$this->commandTester->execute([
'--expirationDate' => '2016-01-01',
'--expiration-date' => '2016-01-01',
]);
}
}