File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/SalesRule/Test/Unit/Model Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,10 +91,9 @@ protected function setUp(): void
91
91
'setBaseShippingDiscountAmount ' ,
92
92
'getDiscountDescription ' ,
93
93
'setDiscountAmount ' ,
94
- 'setBaseDiscountAmount '
95
94
]
96
95
)
97
- ->onlyMethods (['getQuote ' ])
96
+ ->onlyMethods (['getQuote ' , ' setBaseDiscountAmount ' ])
98
97
->disableOriginalConstructor ()
99
98
->getMock ();
100
99
Original file line number Diff line number Diff line change @@ -714,6 +714,7 @@ protected function setupAddressMock(
714
714
->getMock ();
715
715
$ cartExtensionMock = $ this ->getMockBuilder (CartExtensionInterface::class)
716
716
->disableOriginalConstructor ()
717
+ ->onlyMethods (['getShippingAssignments ' ])
717
718
->getMockForAbstractClass ();
718
719
719
720
$ quoteMock ->method ('getStore ' )
You can’t perform that action at this time.
0 commit comments