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

@@ -71,8 +71,8 @@ class GetVisitsCommandTest extends TestCase
$this->commandTester->execute([
'shortCode' => $shortCode,
'--startDate' => $startDate,
'--endDate' => $endDate,
'--start-date' => $startDate,
'--end-date' => $endDate,
]);
}
@@ -86,7 +86,7 @@ class GetVisitsCommandTest extends TestCase
$this->commandTester->execute([
'shortCode' => $shortCode,
'--startDate' => $startDate,
'--start-date' => $startDate,
]);
$output = $this->commandTester->getDisplay();