Skip to content

Commit 4079fc9

Browse files
committed
MQE-911: [GitHub PR] Added the ability to use entity properties in metadata
- Fixed static test failures
1 parent 39f39a2 commit 4079fc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ public function __construct($dependentEntities = null)
6666
* @return array
6767
* @throws \Exception
6868
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
69+
* @SuppressWarnings(PHPMD.NPathComplexity)
70+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
6971
*/
7072
public function resolveOperationDataArray($entityObject, $operationMetadata, $operation, $fromArray = false)
7173
{
@@ -134,7 +136,6 @@ public function resolveOperationDataArray($entityObject, $operationMetadata, $op
134136
));
135137
}
136138
} else {
137-
138139
$operationElementProperty = null;
139140
if (strpos($operationElementType, '.') !== false) {
140141
$operationElementComponents = explode('.', $operationElementType);
@@ -154,7 +155,6 @@ public function resolveOperationDataArray($entityObject, $operationMetadata, $op
154155
));
155156
}
156157
foreach ($entityNamesOfType as $entityName) {
157-
158158
if ($operationElementProperty === null) {
159159
$operationDataSubArray = $this->resolveNonPrimitiveElement(
160160
$entityName,

0 commit comments

Comments
 (0)