File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
SalesRule/Test/Unit/Model/Rule/Action/Discount
Tax/Test/Unit/Model/Plugin Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -223,8 +223,8 @@ public function calculateDataProvider()
223
223
'expectedRuleDiscountQty ' => 100 ,
224
224
'expectedDiscountData ' => [
225
225
'amount ' => 98 ,
226
- 'baseAmount ' => 59.5 ,
227
- 'originalAmount ' => 119 ,
226
+ 'baseAmount ' => 59.49999999999999 ,
227
+ 'originalAmount ' => 118.99999999999999 ,
228
228
'baseOriginalAmount ' => 80.5 ,
229
229
],
230
230
]
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ protected function setupExtensionAttributeMock(): MockObject
108
108
{
109
109
$ orderExtensionAttributeMock = $ this ->getMockBuilder (OrderExtensionInterface::class)
110
110
->disableOriginalConstructor ()
111
- ->onlyMethods (
111
+ ->addMethods (
112
112
[
113
113
'getAppliedTaxes ' ,
114
114
'getConvertingFromQuote ' ,
You can’t perform that action at this time.
0 commit comments