@@ -398,11 +398,14 @@ public function testAddBundleToCartWithRadioAndSelectErr()
398
398
DataFixture(ProductFixture::class, ['sku ' => 'simple2 ' , 'price ' => 20 ], 'p2 ' ),
399
399
DataFixture(BundleSelectionFixture::class, ['sku ' => '$p1.sku$ ' , 'price ' => 10 , 'price_type ' => 0 ], 'link1 ' ),
400
400
DataFixture(BundleSelectionFixture::class, ['sku ' => '$p2.sku$ ' , 'price ' => 25 , 'price_type ' => 1 ], 'link2 ' ),
401
- DataFixture(BundleOptionFixture::class, ['product_links ' => ['$link1$ ' , '$link2$ ' ]], 'opt1 ' ),
401
+ DataFixture(BundleOptionFixture::class, ['title ' => 'Checkbox Options ' , 'type ' => 'checkbox ' ,
402
+ 'required ' => 1 ,'product_links ' => ['$link1$ ' , '$link2$ ' ]], 'opt1 ' ),
403
+ DataFixture(BundleOptionFixture::class, ['title ' => 'Multiselect Options ' , 'type ' => 'multi ' ,
404
+ 'required ' => 1 ,'product_links ' => ['$link1$ ' , '$link2$ ' ]], 'opt2 ' ),
402
405
DataFixture(
403
406
BundleProductFixture::class,
404
407
['sku ' => 'bundle-product-multiselect-checkbox-options ' ,'price ' => 50 ,'price_type ' => 1 ,
405
- '_options ' => ['$opt1$ ' ]],
408
+ '_options ' => ['$opt1$ ' , ' $opt2$ ' ]],
406
409
'bundle-product-multiselect-checkbox-options '
407
410
),
408
411
]
0 commit comments