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
18
18
const ARRAY_KEY_FOR_FILE = 'file ' ;
19
19
const ARRAY_KEY_FOR_AWS_SECRETS_MANAGER = 'aws ' ;
20
20
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 ' ;
24
23
25
24
/**
26
25
* Credential storage array
@@ -95,7 +94,7 @@ private function __construct()
95
94
96
95
if (empty ($ this ->credStorage )) {
97
96
throw new TestFrameworkException (
98
- 'Invalid Credential Storage. ' . self ::CREDENTIAL_STORAGE_INFO
97
+ 'Invalid Credential Storage. ' . self ::CREDENTIAL_STORAGE_INFO . ' . '
99
98
);
100
99
}
101
100
}
@@ -119,7 +118,8 @@ public function getSecret($key)
119
118
}
120
119
121
120
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. '
123
123
);
124
124
}
125
125
You can’t perform that action at this time.
0 commit comments