Skip to content

Commit 1a2560f

Browse files
committed
ACP2E-2763: Table Rates Still Showing Even Though Free Shipping Is Applied
This value was updated as now the whole subtotal is taken into account for Table Rate tier, not only products excluded from the rule
1 parent 7855197 commit 1a2560f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Quote/Model/ShippingMethodManagementTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ public function testTableRateWithCartRuleForFreeShipping()
168168
$rate = reset($result);
169169
$expectedResult = [
170170
'method_code' => 'bestway',
171-
'amount' => 10
171+
'amount' => 5
172172
];
173173
$this->assertEquals($expectedResult['method_code'], $rate->getMethodCode());
174174
$this->assertEquals($expectedResult['amount'], $rate->getAmount());
175175
}
176-
176+
177177
/**
178178
* @magentoDataFixture Magento/SalesRule/_files/cart_rule_100_percent_off.php
179179
* @magentoDataFixture Magento/Sales/_files/quote_with_customer.php

0 commit comments

Comments
 (0)