Skip to content

Commit 43b2b7a

Browse files
AC-7886::Subtotal (Excl. Tax) condition for Cart rule is not working for FREE Shipping
1 parent 3cf1f50 commit 43b2b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/SalesRule/Test/Unit/Model/ValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ protected function setupAddressMock(
714714
->getMock();
715715
$cartExtensionMock = $this->getMockBuilder(CartExtensionInterface::class)
716716
->disableOriginalConstructor()
717-
->addMethods(['getShippingAssignments'])
717+
->onlyMethods(['getShippingAssignments'])
718718
->getMockForAbstractClass();
719719

720720
$quoteMock->method('getStore')

0 commit comments

Comments
 (0)