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 c9940b1 commit 1b01ba5Copy full SHA for 1b01ba5
app/code/Magento/SalesRule/Test/Unit/Model/ValidatorTest.php
@@ -560,8 +560,7 @@ public function testProcessShippingAmountActions(
560
561
$ruleMock = $this->getMockBuilder(Rule::class)
562
->disableOriginalConstructor()
563
- ->addMethods(['getApplyToShipping', 'getDiscountAmount'])
564
- ->onlyMethods(['getSimpleAction'])
+ ->addMethods(['getApplyToShipping', 'getDiscountAmount', 'getSimpleAction'])
565
->getMock();
566
$ruleMock->method('getApplyToShipping')
567
->willReturn(true);
0 commit comments