File tree 2 files changed +4
-4
lines changed
src/Magento/FunctionalTestingFramework/DataGenerator/Handlers
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ public function getSecret($key)
108
108
}
109
109
110
110
throw new TestFrameworkException (
111
- "{$ key } not defined in vault or .credentials file, "
112
- . "please provide a value in order to use this secret in a test. \" . "
111
+ "\" {$ key }\" not defined in vault or .credentials file, "
112
+ . "please provide a value in order to use this secret in a test. "
113
113
);
114
114
}
115
115
@@ -140,7 +140,7 @@ public function decryptAllSecretsInString($string)
140
140
// Loop through storage to decrypt all occurrences from input string
141
141
foreach (self ::$ credStoragePrecedence as $ credType ) {
142
142
if (null !== $ this ->credStorage [$ credType ]) {
143
- return $ this ->credStorage [$ credType ]->getAllDecryptedValues ($ string );
143
+ return $ this ->credStorage [$ credType ]->getAllDecryptedValuesInString ($ string );
144
144
}
145
145
}
146
146
}
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public function getDecryptedValue($value)
73
73
* @param string $string
74
74
* @return mixed
75
75
*/
76
- public function getAllDecryptedValues ($ string )
76
+ public function getAllDecryptedValuesInString ($ string )
77
77
{
78
78
$ newString = $ string ;
79
79
foreach (self ::$ cachedSecretData as $ key => $ secretValue ) {
You can’t perform that action at this time.
0 commit comments