File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
dev/tests/api-functional/testsuite/Magento/ConfigurableProduct/Api Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -142,12 +142,10 @@ public function testAddChildFullRestCreation()
142
142
public function testConfigurableOptionPositionPreservation ()
143
143
{
144
144
$ productSku = 'configurable-product-sku ' ;
145
-
146
145
$ childProductSkus = [
147
146
'simple-product-sku-1 ' ,
148
147
'simple-product-sku-2 '
149
148
];
150
-
151
149
$ attributesToAdd = [
152
150
'custom_attr_1 ' ,
153
151
'custom_attr_2 ' ,
@@ -214,7 +212,6 @@ public function testConfigurableOptionPositionPreservation()
214
212
$ this ->assertTrue ($ res );
215
213
}
216
214
217
- // confirm that the simple product was added
218
215
$ childProductsDiff = array_diff (
219
216
$ childProductSkus ,
220
217
array_column (
@@ -231,14 +228,12 @@ public function testConfigurableOptionPositionPreservation()
231
228
$ attributesAfterAssign [0 ]['position ' ],
232
229
'Product 1 attribute option position mismatch '
233
230
);
234
-
235
231
$ this ->assertEquals (
236
232
$ attributesBeforeAssign [1 ]['position ' ],
237
233
$ attributesAfterAssign [1 ]['position ' ],
238
234
'Product 2 attribute option position mismatch '
239
235
);
240
236
241
- // remove products used during the test
242
237
foreach ($ childProductSkus as $ childSku ) {
243
238
$ this ->deleteProduct ($ childSku );
244
239
}
You can’t perform that action at this time.
0 commit comments