Skip to content

Commit 75477b6

Browse files
committed
ACP2E-209: "Table rate" shipping method displays as "Not yet calculated" on checkout
Static test failures fixed.
1 parent 0bbafe1 commit 75477b6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
use Magento\TestFramework\Quote\Model\GetQuoteByReservedOrderId;
3434
use PHPUnit\Framework\TestCase;
3535
use Magento\Quote\Api\CouponManagementInterface;
36+
3637
/**
3738
* Test for shipping methods management
3839
*

dev/tests/integration/testsuite/Magento/SalesRule/_files/cart_rule_free_shipping_subtotal_equals_more_than_30.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
declare(strict_types=1);
8+
79
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
810
/** @var Magento\Framework\Registry $registry */
911
$registry = $objectManager->get(\Magento\Framework\Registry::class);
@@ -37,6 +39,7 @@
3739
);
3840
$salesRule->save();
3941
$registry->unregister('Magento/SalesRule/_files/cart_rule_free_shipping_subtotal_equals_more_than_30');
40-
$registry->register('Magento/SalesRule/_files/cart_rule_free_shipping_subtotal_equals_more_than_30_rollback',
42+
$registry->register(
43+
'Magento/SalesRule/_files/cart_rule_free_shipping_subtotal_equals_more_than_30_rollback',
4144
$salesRule->getRuleId()
4245
);

0 commit comments

Comments
 (0)