File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
app/code/Magento/SalesRule/Test/Unit/Model/Rule/Action/Discount Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,11 @@ protected function setUp(): void
65
65
66
66
$ this ->model = $ helper ->getObject (
67
67
ByFixed::class,
68
- ['discountDataFactory ' => $ this ->discountDataFactory , 'validator ' => $ this ->validator , 'priceCurrency ' => $ this ->priceCurrency ]
68
+ [
69
+ 'discountDataFactory ' => $ this ->discountDataFactory ,
70
+ 'validator ' => $ this ->validator ,
71
+ 'priceCurrency ' => $ this ->priceCurrency
72
+ ]
69
73
);
70
74
}
71
75
@@ -163,7 +167,8 @@ public function testCalculate(
163
167
)->method (
164
168
'convert '
165
169
)->with (
166
- $ ruleData ['discountAmount ' ], $ store
170
+ $ ruleData ['discountAmount ' ],
171
+ $ store
167
172
)->willReturn (
168
173
$ validItemData ['baseOriginalPrice ' ]
169
174
);
You can’t perform that action at this time.
0 commit comments