Skip to content

Commit b153bf4

Browse files
committed
MQE-910: [GitHub PR] The property of the parent element is used first when making a request
1 parent fa32135 commit b153bf4

File tree

1 file changed

+1
-1
lines changed
  • src/Magento/FunctionalTestingFramework/DataGenerator/Persist

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/DataGenerator/Persist/CurlHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ private function resolveUrlReference($urlIn, $entityObjects)
213213
}
214214

215215
foreach ($entityObjects as $entityObject) {
216+
$param = null;
216217

217218
if ($paramEntityParent === "" || $entityObject->getType() == $paramEntityParent) {
218219
$param = $entityObject->getDataByName(
@@ -223,7 +224,6 @@ private function resolveUrlReference($urlIn, $entityObjects)
223224

224225
if (null !== $param) {
225226
$urlOut = str_replace($paramValue, $param, $urlOut);
226-
$param = null;
227227
continue;
228228
}
229229
}

0 commit comments

Comments
 (0)