File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Magento/FunctionalTestingFramework/DataGenerator/Handlers Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,8 @@ class CredentialStore
1818 const ARRAY_KEY_FOR_FILE = 'file ' ;
1919 const ARRAY_KEY_FOR_AWS_SECRETS_MANAGER = 'aws ' ;
2020
21- const CREDENTIAL_STORAGE_INFO = 'MFTF uses Credential Storage in the following precedence: '
22- . '.credentials file, HashiCorp Vault and AWS Secrets Manager. '
23- . 'You need to configure at least one to use _CREDS in tests. ' ;
21+ const CREDENTIAL_STORAGE_INFO = 'You need to configure at least one of these options: '
22+ . '.credentials file, HashiCorp Vault or AWS Secrets Manager correctly ' ;
2423
2524 /**
2625 * Credential storage array
@@ -95,7 +94,7 @@ private function __construct()
9594
9695 if (empty ($ this ->credStorage )) {
9796 throw new TestFrameworkException (
98- 'Invalid Credential Storage. ' . self ::CREDENTIAL_STORAGE_INFO
97+ 'Invalid Credential Storage. ' . self ::CREDENTIAL_STORAGE_INFO . ' . '
9998 );
10099 }
101100 }
@@ -119,7 +118,8 @@ public function getSecret($key)
119118 }
120119
121120 throw new TestFrameworkException (
122- "{$ key } not found. " . self ::CREDENTIAL_STORAGE_INFO . ' And make sure key/value exists. '
121+ "{$ key } not found. " . self ::CREDENTIAL_STORAGE_INFO
122+ . ' and ensure key, value exists to use _CREDS in tests. '
123123 );
124124 }
125125
You can’t perform that action at this time.
0 commit comments