We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b01ba5 commit f08ed01Copy full SHA for f08ed01
app/code/Magento/SalesRule/Test/Unit/Model/ValidatorTest.php
@@ -560,7 +560,8 @@ public function testProcessShippingAmountActions(
560
561
$ruleMock = $this->getMockBuilder(Rule::class)
562
->disableOriginalConstructor()
563
- ->addMethods(['getApplyToShipping', 'getDiscountAmount', 'getSimpleAction'])
+ ->addMethods(['getApplyToShipping', 'getDiscountAmount'])
564
+ ->onlyMethods(['getSimpleAction'])
565
->getMock();
566
$ruleMock->method('getApplyToShipping')
567
->willReturn(true);
0 commit comments