Dimplified GenerateKeyCommand by using SymfonyStyle

This commit is contained in:
Alejandro Celaya
2017-12-27 17:36:07 +01:00
parent 37fb7e76d9
commit 1993d01110
2 changed files with 6 additions and 2 deletions

View File

@@ -59,6 +59,6 @@ class DisableKeyCommandTest extends TestCase
'apiKey' => $apiKey,
]);
$output = $this->commandTester->getDisplay();
$this->assertEquals('API key "abcd1234" does not exist.' . PHP_EOL, $output);
$this->assertContains('API key "abcd1234" does not exist.', $output);
}
}