Skip to content

Commit f08ed01

Browse files
committed
ACPT-1450: fix unit tests failures
1 parent 1b01ba5 commit f08ed01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,8 @@ public function testProcessShippingAmountActions(
560560

561561
$ruleMock = $this->getMockBuilder(Rule::class)
562562
->disableOriginalConstructor()
563-
->addMethods(['getApplyToShipping', 'getDiscountAmount', 'getSimpleAction'])
563+
->addMethods(['getApplyToShipping', 'getDiscountAmount'])
564+
->onlyMethods(['getSimpleAction'])
564565
->getMock();
565566
$ruleMock->method('getApplyToShipping')
566567
->willReturn(true);

0 commit comments

Comments
 (0)