CLI-1297: Fix error messages for ACSF authentication #2180
mutation.yml
on: pull_request
Mutation Testing
9m 50s
Annotations
5 warnings
Mutation Testing:
src/EventListener/ExceptionListener.php#L51
Escaped Mutant for Mutator "SharedCaseRemoval":
--- Original
+++ New
@@ @@
}
if ($error instanceof AcquiaCliException) {
switch ($error->getRawMessage()) {
- case 'No applications match the alias {applicationAlias}':
case 'Multiple applications match the alias {applicationAlias}':
$this->writeApplicationAliasHelp();
break;
|
Mutation Testing:
src/EventListener/ExceptionListener.php#L51
Escaped Mutant for Mutator "SharedCaseRemoval":
--- Original
+++ New
@@ @@
if ($error instanceof AcquiaCliException) {
switch ($error->getRawMessage()) {
case 'No applications match the alias {applicationAlias}':
- case 'Multiple applications match the alias {applicationAlias}':
$this->writeApplicationAliasHelp();
break;
case '{environmentId} must be a valid UUID or site alias.':
|
Mutation Testing:
src/EventListener/ExceptionListener.php#L51
Escaped Mutant for Mutator "SharedCaseRemoval":
--- Original
+++ New
@@ @@
case 'Multiple applications match the alias {applicationAlias}':
$this->writeApplicationAliasHelp();
break;
- case '{environmentId} must be a valid UUID or site alias.':
case '{environmentUuid} must be a valid UUID or site alias.':
$this->writeSiteAliasHelp();
break;
|
Mutation Testing:
src/EventListener/ExceptionListener.php#L51
Escaped Mutant for Mutator "SharedCaseRemoval":
--- Original
+++ New
@@ @@
$this->writeApplicationAliasHelp();
break;
case '{environmentId} must be a valid UUID or site alias.':
- case '{environmentUuid} must be a valid UUID or site alias.':
$this->writeSiteAliasHelp();
break;
case 'Access token file not found at {file}':
|
Mutation Testing:
src/EventListener/ExceptionListener.php#L51
Escaped Mutant for Mutator "SharedCaseRemoval":
--- Original
+++ New
@@ @@
$this->writeSiteAliasHelp();
break;
case 'Access token file not found at {file}':
- case 'Access token expiry file not found at {file}':
$this->helpMessages[] = 'Get help for this error at https://docs.acquia.com/ide/known-issues/#the-automated-cloud-platform-api-authentication-might-fail';
break;
case 'This machine is not yet authenticated with the Cloud Platform.':
|