Skip to content

Commit 8aa7fd2

Browse files
Shashik.K.SinghShashik.K.Singh
authored andcommitted
change condition as requested
1 parent cad424a commit 8aa7fd2

File tree

1 file changed

+1
-1
lines changed
  • src/Magento/FunctionalTestingFramework/DataGenerator/Handlers/SecretStorage

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/DataGenerator/Handlers/SecretStorage/FileStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private function encryptCredFileContents($credContents)
101101
if (substr($credValue, 0, 1) === '#' || empty($credValue)) {
102102
continue;
103103
}
104-
elseif (is_bool(strpos($credValue, "="))){
104+
elseif (strpos($credValue, "=") === false){
105105
throw new TestFrameworkException(
106106
$credValue." not configured correctly in .credentials file"
107107
);

0 commit comments

Comments
 (0)