File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
dev/tests/functional/tests/app/Magento/Bundle/Test Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,7 @@ public function getData($key = null)
46
46
$ optionData = [
47
47
'title ' => $ checkoutOption ['title ' ],
48
48
'value ' => "{$ qty } x {$ value } {$ price }" ,
49
- 'sku ' => "{$ qty } x {$ value }" ,
50
- 'partialInvoiceValue ' => "{$ value } {$ price }" ,
51
- 'partialInvoiceSku ' => "{$ value }"
49
+ 'sku ' => "{$ value }"
52
50
];
53
51
54
52
$ checkoutBundleOptions [$ checkoutOptionKey ] = $ optionData ;
Original file line number Diff line number Diff line change @@ -20,11 +20,6 @@ class CreatePartialInvoiceStep extends \Magento\Sales\Test\TestStep\CreateInvoic
20
20
protected function getItems ()
21
21
{
22
22
$ items = parent ::getItems ();
23
- $ items = $ items [0 ]->getData ()['options ' ];
24
- foreach ($ items as &$ item ) {
25
- $ item ['value ' ] = $ item ['partialInvoiceValue ' ];
26
- $ item ['sku ' ] = $ item ['partialInvoiceSku ' ];
27
- }
28
- return $ items ;
23
+ return $ items [0 ]->getData ()['options ' ];
29
24
}
30
25
}
You can’t perform that action at this time.
0 commit comments