File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
dev/tests/api-functional/testsuite/Magento/Bundle/Api Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,7 @@ public function testUpdateBundleAddSelection()
225225 public function testUpdateBundleAddAndDeleteOption ()
226226 {
227227 $ bundleProduct = $ this ->createDynamicBundleProduct ();
228+ $ linkedProductPrice = 20 ;
228229
229230 $ bundleProductOptions = $ this ->getBundleProductOptions ($ bundleProduct );
230231
@@ -238,7 +239,7 @@ public function testUpdateBundleAddAndDeleteOption()
238239 [
239240 'sku ' => 'simple2 ' ,
240241 'qty ' => 2 ,
241- "price " => 20 ,
242+ "price " => $ linkedProductPrice ,
242243 "price_type " => 1 ,
243244 "is_default " => false ,
244245 ],
@@ -256,6 +257,7 @@ public function testUpdateBundleAddAndDeleteOption()
256257 $ this ->assertFalse (isset ($ bundleOptions [1 ]));
257258 $ this ->assertEquals ('simple2 ' , $ bundleOptions [0 ]['product_links ' ][0 ]['sku ' ]);
258259 $ this ->assertEquals (2 , $ bundleOptions [0 ]['product_links ' ][0 ]['qty ' ]);
260+ $ this ->assertEquals ($ linkedProductPrice , $ bundleOptions [0 ]['product_links ' ][0 ]['price ' ]);
259261 }
260262
261263 /**
You can’t perform that action at this time.
0 commit comments