Skip to content

Commit fd19fb5

Browse files
committed
Amend PHPUnit tests
1 parent 15d61bb commit fd19fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Test/Objects/ActionObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ private function getMissingReferences($replacement): array
437437
preg_match_all($mustachePattern, $replacement, $matches);
438438

439439
return array_filter($matches[1], function ($match) {
440-
return false === strpos($match, '_ENV.');
440+
return !empty($match) && false === strpos($match, '_ENV.');
441441
});
442442
}
443443

0 commit comments

Comments
 (0)