Skip to content

Commit c85bcd0

Browse files
committed
added unit test changes
1 parent cbc352e commit c85bcd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/Test/Unit/Model/Order/ItemTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function getItemQtyVariants()
314314
'qty_ordered' => 12, 'qty_invoiced' => 12, 'qty_refunded' => 5, 'qty_shipped' => 4,
315315
'qty_canceled' => 0
316316
],
317-
'expectedResult' => ['to_ship' => 3.0, 'to_invoice' => 0.0]
317+
'expectedResult' => ['to_ship' => 7.0, 'to_invoice' => 0.0]
318318
],
319319
'complete' => [
320320
'options' => [
@@ -335,7 +335,7 @@ public function getItemQtyVariants()
335335
'qty_ordered' => 4.4, 'qty_invoiced' => 0.4, 'qty_refunded' => 0.4, 'qty_shipped' => 4,
336336
'qty_canceled' => 0,
337337
],
338-
'expectedResult' => ['to_ship' => 0.0, 'to_invoice' => 4.0]
338+
'expectedResult' => ['to_ship' => 0.4, 'to_invoice' => 4.0]
339339
],
340340
'completely_invoiced_using_decimals' => [
341341
'options' => [

0 commit comments

Comments
 (0)