File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
dev/tests/integration/testsuite/Magento/BundleImportExport/Model/Import/Product/Type Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -217,10 +217,9 @@ public function testBundleImportUpdateValuesWithQuestionMark(): void
217
217
$ this ->assertEquals (self ::TEST_PRODUCT_TYPE , $ product ->getTypeId ());
218
218
$ this ->assertEquals (1 , $ product ->getShipmentType ());
219
219
220
- $ optionIdList = $ resource ->getProductsIdsBySkus ($ this ->optionSkuList );
221
220
$ bundleOptionCollection = $ product ->getExtensionAttributes ()->getBundleProductOptions ();
222
221
$ this ->assertCount (1 , $ bundleOptionCollection );
223
- foreach ($ bundleOptionCollection as $ optionKey => $ option ) {
222
+ foreach ($ bundleOptionCollection as $ option ) {
224
223
$ this ->assertEquals ('checkbox ' , $ option ->getData ('type ' ));
225
224
$ this ->assertEquals ('Option? ' , $ option ->getData ('title ' ));
226
225
$ this ->assertEquals (self ::TEST_PRODUCT_NAME , $ option ->getData ('sku ' ));
You can’t perform that action at this time.
0 commit comments