File tree 1 file changed +3
-1
lines changed
dev/tests/api-functional/testsuite/Magento/Bundle/Api
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,7 @@ public function testUpdateBundleAddSelection()
225
225
public function testUpdateBundleAddAndDeleteOption ()
226
226
{
227
227
$ bundleProduct = $ this ->createDynamicBundleProduct ();
228
+ $ linkedProductPrice = 20 ;
228
229
229
230
$ bundleProductOptions = $ this ->getBundleProductOptions ($ bundleProduct );
230
231
@@ -238,7 +239,7 @@ public function testUpdateBundleAddAndDeleteOption()
238
239
[
239
240
'sku ' => 'simple2 ' ,
240
241
'qty ' => 2 ,
241
- "price " => 20 ,
242
+ "price " => $ linkedProductPrice ,
242
243
"price_type " => 1 ,
243
244
"is_default " => false ,
244
245
],
@@ -256,6 +257,7 @@ public function testUpdateBundleAddAndDeleteOption()
256
257
$ this ->assertFalse (isset ($ bundleOptions [1 ]));
257
258
$ this ->assertEquals ('simple2 ' , $ bundleOptions [0 ]['product_links ' ][0 ]['sku ' ]);
258
259
$ this ->assertEquals (2 , $ bundleOptions [0 ]['product_links ' ][0 ]['qty ' ]);
260
+ $ this ->assertEquals ($ linkedProductPrice , $ bundleOptions [0 ]['product_links ' ][0 ]['price ' ]);
259
261
}
260
262
261
263
/**
You can’t perform that action at this time.
0 commit comments