allow to pre-define colors to choose from (#2481)
This commit is contained in:
@@ -58,7 +58,7 @@ class UpdateCommandTest extends KernelTestCase
|
||||
self::assertStringContainsString('No migrations to execute.', $result);
|
||||
|
||||
self::assertStringContainsString(
|
||||
sprintf('[OK] Congratulations! Successfully updated Kimai 2 to version %s (%s)', Constants::VERSION, Constants::STATUS),
|
||||
sprintf('[OK] Congratulations! Successfully updated Kimai to version %s (%s)', Constants::VERSION, Constants::STATUS),
|
||||
$result
|
||||
);
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ class VersionCommandTest extends KernelTestCase
|
||||
public function getTestData()
|
||||
{
|
||||
return [
|
||||
[[], 'Kimai 2 - ' . Constants::VERSION . ' ' . Constants::STATUS . ' (' . Constants::NAME . ') by Kevin Papst and contributors.'],
|
||||
[[], 'Kimai - ' . Constants::VERSION . ' ' . Constants::STATUS . ' (' . Constants::NAME . ') by Kevin Papst and contributors.'],
|
||||
[['--name' => true], Constants::NAME],
|
||||
[['--candidate' => true], Constants::STATUS],
|
||||
[['--short' => true], Constants::VERSION],
|
||||
|
||||
Reference in New Issue
Block a user