File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/ResourceModel/Product Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -95,26 +95,6 @@ public function testGetRelationsByChildren(): void
95
95
}
96
96
}
97
97
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
-
118
98
/**
119
99
* Assert there are parent configurable products ids in result of getRelationsByChildren method
120
100
* and they are related to child ids.
You can’t perform that action at this time.
0 commit comments