Skip to content

Commit 1b01ba5

Browse files
committed
ACPT-1408: Investigate 1m call on 1k rules
1 parent c9940b1 commit 1b01ba5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

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

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

0 commit comments

Comments
 (0)