Skip to content

CLI-1297: Fix error messages for ACSF authentication #2181

CLI-1297: Fix error messages for ACSF authentication

CLI-1297: Fix error messages for ACSF authentication #2181

Triggered via pull request March 26, 2024 19:39
Status Success
Total duration 10m 52s
Artifacts

mutation.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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.':