@@ -192,26 +192,26 @@ public function saveDataProvider()
192
192
'skus ' => [
193
193
'newSku ' => [
194
194
'sku_assoc1 ' => ['entity_id ' => 1 ],
195
- 'productSku ' => ['entity_id ' => 3 , 'attr_set_code ' => 'Default ' , 'type_id ' => 'grouped ' ]
195
+ 'productsku ' => ['entity_id ' => 3 , 'attr_set_code ' => 'Default ' , 'type_id ' => 'grouped ' ]
196
196
],
197
197
'oldSku ' => ['sku_assoc2 ' => ['entity_id ' => 2 ]]
198
198
],
199
199
'bunch ' => [
200
200
'associated_skus ' => 'sku_assoc1=1, sku_assoc2=2 ' ,
201
- 'sku ' => 'productSku ' ,
201
+ 'sku ' => 'productsku ' ,
202
202
'product_type ' => 'grouped '
203
203
]
204
204
],
205
205
[
206
206
'skus ' => [
207
207
'newSku ' => [
208
- 'productSku ' => ['entity_id ' => 1 , 'attr_set_code ' => 'Default ' , 'type_id ' => 'grouped ' ]
208
+ 'productsku ' => ['entity_id ' => 1 , 'attr_set_code ' => 'Default ' , 'type_id ' => 'grouped ' ]
209
209
],
210
210
'oldSku ' => []
211
211
],
212
212
'bunch ' => [
213
213
'associated_skus ' => '' ,
214
- 'sku ' => 'productSku ' ,
214
+ 'sku ' => 'productsku ' ,
215
215
'product_type ' => 'grouped '
216
216
]
217
217
],
@@ -227,13 +227,13 @@ public function saveDataProvider()
227
227
'skus ' => [
228
228
'newSku ' => [
229
229
'sku_assoc1 ' => ['entity_id ' => 1 ],
230
- 'productSku ' => ['entity_id ' => 3 , 'attr_set_code ' => 'Default ' , 'type_id ' => 'grouped ' ]
230
+ 'productsku ' => ['entity_id ' => 3 , 'attr_set_code ' => 'Default ' , 'type_id ' => 'grouped ' ]
231
231
],
232
232
'oldSku ' => []
233
233
],
234
234
'bunch ' => [
235
235
'associated_skus ' => 'sku_assoc1=1 ' ,
236
- 'sku ' => 'productSku ' ,
236
+ 'sku ' => 'productsku ' ,
237
237
'product_type ' => 'simple '
238
238
]
239
239
]
@@ -247,7 +247,7 @@ public function testSaveDataScopeStore()
247
247
{
248
248
$ this ->entityModel ->expects ($ this ->once ())->method ('getNewSku ' )->will ($ this ->returnValue ([
249
249
'sku_assoc1 ' => ['entity_id ' => 1 ],
250
- 'productSku ' => ['entity_id ' => 2 , 'attr_set_code ' => 'Default ' , 'type_id ' => 'grouped ' ]
250
+ 'productsku ' => ['entity_id ' => 2 , 'attr_set_code ' => 'Default ' , 'type_id ' => 'grouped ' ]
251
251
]));
252
252
$ this ->entityModel ->expects ($ this ->once ())->method ('getOldSku ' )->will ($ this ->returnValue ([
253
253
'sku_assoc2 ' => ['entity_id ' => 3 ]
@@ -257,7 +257,7 @@ public function testSaveDataScopeStore()
257
257
258
258
$ bunch = [[
259
259
'associated_skus ' => 'sku_assoc1=1, sku_assoc2=2 ' ,
260
- 'sku ' => 'productSku ' ,
260
+ 'sku ' => 'productsku ' ,
261
261
'product_type ' => 'grouped '
262
262
]];
263
263
$ this ->entityModel ->expects ($ this ->at (2 ))->method ('getNextBunch ' )->will ($ this ->returnValue ($ bunch ));
0 commit comments