Skip to content

Commit 7e050f3

Browse files
committed
MQE-824: Complete Regression Test (from release branch)
- bug in test generator comparison for node match
1 parent 64972b3 commit 7e050f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Util/TestGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ private function generateStepsPhp($stepsObject, $hookObject = false)
688688
$requiredEntities = [];
689689
$requiredEntityObjects = [];
690690
foreach ($customActionAttributes as $customAttribute) {
691-
if (is_array($customAttribute) && $customAttribute['nodeName'] = 'requiredEntity') {
691+
if (is_array($customAttribute) && $customAttribute['nodeName'] == 'requiredEntity') {
692692
if ($hookObject) {
693693
$requiredEntities [] = "\$this->" . $customAttribute[self::REQUIRED_ENTITY_REFERENCE] .
694694
"->getName() => " . "\$this->" . $customAttribute[self::REQUIRED_ENTITY_REFERENCE] .

0 commit comments

Comments
 (0)