File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
app/code/Magento/AdvancedPricingImportExport Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -402,8 +402,8 @@ protected function correctExportData($exportData)
402
402
$ exportRow [$ keyTemplate ] = $ this ->_getCustomerGroupById (
403
403
$ row [$ keyTemplate ],
404
404
isset ($ row [ImportAdvancedPricing::VALUE_ALL_GROUPS ])
405
- ? $ row [ImportAdvancedPricing::VALUE_ALL_GROUPS ]
406
- : null
405
+ ? $ row [ImportAdvancedPricing::VALUE_ALL_GROUPS ]
406
+ : null
407
407
);
408
408
unset($ exportRow [ImportAdvancedPricing::VALUE_ALL_GROUPS ]);
409
409
} elseif ($ keyTemplate === ImportAdvancedPricing::COL_TIER_PRICE ) {
Original file line number Diff line number Diff line change @@ -151,10 +151,13 @@ protected function setUp()
151
151
]
152
152
);
153
153
$ this ->exportConfig = $ this ->createMock (\Magento \ImportExport \Model \Export \Config::class);
154
- $ this ->productFactory = $ this ->createPartialMock (\Magento \Catalog \Model \ResourceModel \ProductFactory::class, [
155
- 'create ' ,
156
- 'getTypeId ' ,
157
- ]);
154
+ $ this ->productFactory = $ this ->createPartialMock (
155
+ \Magento \Catalog \Model \ResourceModel \ProductFactory::class,
156
+ [
157
+ 'create ' ,
158
+ 'getTypeId ' ,
159
+ ]
160
+ );
158
161
$ this ->attrSetColFactory = $ this ->createPartialMock (
159
162
\Magento \Eav \Model \ResourceModel \Entity \Attribute \Set \CollectionFactory::class,
160
163
[
@@ -185,11 +188,14 @@ protected function setUp()
185
188
\Magento \CatalogImportExport \Model \Import \Product \StoreResolver::class
186
189
);
187
190
$ this ->groupRepository = $ this ->createMock (\Magento \Customer \Api \GroupRepositoryInterface::class);
188
- $ this ->writer = $ this ->createPartialMock (\Magento \ImportExport \Model \Export \Adapter \AbstractAdapter::class, [
191
+ $ this ->writer = $ this ->createPartialMock (
192
+ \Magento \ImportExport \Model \Export \Adapter \AbstractAdapter::class,
193
+ [
189
194
'setHeaderCols ' ,
190
195
'writeRow ' ,
191
196
'getContents ' ,
192
- ]);
197
+ ]
198
+ );
193
199
$ constructorMethods = [
194
200
'initTypeModels ' ,
195
201
'initAttributes ' ,
You can’t perform that action at this time.
0 commit comments