Skip to content

Commit 82ad803

Browse files
author
mastiuhin-olexandr
committed
MC-33288: [2.4][MSI][MFTF] StorefrontLoggedInCustomerCreateOrderAllOptionQuantityConfigurableProductCustomStockTest fails because of bad design
1 parent 377da7b commit 82ad803

File tree

1 file changed

+0
-20
lines changed
  • dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/ResourceModel/Product

1 file changed

+0
-20
lines changed

dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/ResourceModel/Product/RelationTest.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -95,26 +95,6 @@ public function testGetRelationsByChildren(): void
9595
}
9696
}
9797

98-
/**
99-
* Assert there are parent configurable products ids in result of getRelationsByChildren method
100-
* and they are related to child ids.
101-
*/
102-
$result = $this->model->getRelationsByChildren($childIds);
103-
104-
foreach ($childIds as $childId) {
105-
$this->assertArrayHasKey($childId, $result);
106-
$this->assertContains($result[$childId], $parentIdsOfChildIds[$childId]);
107-
}
108-
109-
$parentIdsOfChildIds = [];
110-
111-
foreach ($childSkusOfParentSkus as $parentSku => $childSkus) {
112-
foreach ($childSkus as $childSku) {
113-
$childId = $configurableIdsOfSkus[$childSku];
114-
$parentIdsOfChildIds[$childId][] = $configurableIdsOfSkus[$parentSku];
115-
}
116-
}
117-
11898
/**
11999
* Assert there are parent configurable products ids in result of getRelationsByChildren method
120100
* and they are related to child ids.

0 commit comments

Comments
 (0)