Skip to content

Commit fe86f2a

Browse files
committed
ACP2E-1313: Refund shipping issue with discounted order (Apply Discount On Prices = Including tax)
1 parent fa20fbe commit fe86f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Test/Unit/Model/Order/Creditmemo/Total/ShippingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ public function testCollectUsingShippingInclTaxAndDiscountBeforeTax(string $calc
517517
$this->taxConfig->expects($this->any())->method('displaySalesShippingInclTax')->willReturn(true);
518518
$this->taxConfig->expects($this->any())
519519
->method('getCalculationSequence')
520-
->willReturn(TaxCalculation::CALC_TAX_AFTER_DISCOUNT_ON_EXCL);
520+
->willReturn($calculationSequence);
521521

522522
$orderShippingAmount = 14.55;
523523
$shippingTaxAmount = 0.45;

0 commit comments

Comments
 (0)