@@ -203,100 +203,100 @@ public static function isValidResultFalseDataProvider()
203
203
return [
204
204
// First if condition cases.
205
205
[
206
- '$ value ' => [
206
+ 'value ' => [
207
207
AdvancedPricing::COL_TIER_PRICE_WEBSITE => null ,
208
208
AdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP => 'value ' ,
209
209
AdvancedPricing::COL_TIER_PRICE_QTY => 1000 ,
210
210
AdvancedPricing::COL_TIER_PRICE => 1000 ,
211
211
],
212
- '$ hasEmptyColumns ' => null ,
213
- '$ customerGroups ' => [
212
+ 'hasEmptyColumns ' => null ,
213
+ 'customerGroups ' => [
214
214
'value ' => 'value '
215
215
],
216
216
],
217
217
[
218
- '$ value ' => [
218
+ 'value ' => [
219
219
AdvancedPricing::COL_TIER_PRICE_WEBSITE => 'value ' ,
220
220
AdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP => null ,
221
221
AdvancedPricing::COL_TIER_PRICE_QTY => 1000 ,
222
222
AdvancedPricing::COL_TIER_PRICE => 1000 ,
223
223
],
224
- '$ hasEmptyColumns ' => null ,
225
- '$ customerGroups ' => [
224
+ 'hasEmptyColumns ' => null ,
225
+ 'customerGroups ' => [
226
226
'value ' => 'value '
227
227
],
228
228
],
229
229
[
230
- '$ value ' => [
230
+ 'value ' => [
231
231
AdvancedPricing::COL_TIER_PRICE_WEBSITE => 'value ' ,
232
232
AdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP => 'value ' ,
233
233
AdvancedPricing::COL_TIER_PRICE_QTY => null ,
234
234
AdvancedPricing::COL_TIER_PRICE => 1000 ,
235
235
],
236
- '$ hasEmptyColumns ' => null ,
237
- '$ customerGroups ' => [
236
+ 'hasEmptyColumns ' => null ,
237
+ 'customerGroups ' => [
238
238
'value ' => 'value '
239
239
],
240
240
],
241
241
[
242
- '$ value ' => [
242
+ 'value ' => [
243
243
AdvancedPricing::COL_TIER_PRICE_WEBSITE => 'value ' ,
244
244
AdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP => 'value ' ,
245
245
AdvancedPricing::COL_TIER_PRICE_QTY => 1000 ,
246
246
AdvancedPricing::COL_TIER_PRICE => null ,
247
247
],
248
- '$ hasEmptyColumns ' => null ,
249
- '$ customerGroups ' => [
248
+ 'hasEmptyColumns ' => null ,
249
+ 'customerGroups ' => [
250
250
'value ' => 'value '
251
251
],
252
252
],
253
253
[
254
- '$ value ' => [
254
+ 'value ' => [
255
255
AdvancedPricing::COL_TIER_PRICE_WEBSITE => 'value ' ,
256
256
AdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP => 'value ' ,
257
257
AdvancedPricing::COL_TIER_PRICE_QTY => 1000 ,
258
258
AdvancedPricing::COL_TIER_PRICE => 1000 ,
259
259
],
260
- '$ hasEmptyColumns ' => true ,
261
- '$ customerGroups ' => [
260
+ 'hasEmptyColumns ' => true ,
261
+ 'customerGroups ' => [
262
262
'value ' => 'value '
263
263
],
264
264
],
265
265
// Second if condition cases.
266
266
[
267
- '$ value ' => [
267
+ 'value ' => [
268
268
AdvancedPricing::COL_TIER_PRICE_WEBSITE => 'value ' ,
269
269
AdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP => 'not ALL GROUPS ' ,
270
270
AdvancedPricing::COL_TIER_PRICE_QTY => 1000 ,
271
271
AdvancedPricing::COL_TIER_PRICE => 1000 ,
272
272
],
273
- '$ hasEmptyColumns ' => null ,
274
- '$ customerGroups ' => [
273
+ 'hasEmptyColumns ' => null ,
274
+ 'customerGroups ' => [
275
275
'value ' => 'value '
276
276
],
277
277
],
278
278
// Third if condition cases.
279
279
[
280
- '$ value ' => [
280
+ 'value ' => [
281
281
AdvancedPricing::COL_TIER_PRICE_WEBSITE => 'value ' ,
282
282
AdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP => 'value ' ,
283
283
AdvancedPricing::COL_TIER_PRICE_QTY => -1000 ,
284
284
AdvancedPricing::COL_TIER_PRICE => 1000 ,
285
285
],
286
- '$ hasEmptyColumns ' => null ,
287
- '$ customerGroups ' => [
286
+ 'hasEmptyColumns ' => null ,
287
+ 'customerGroups ' => [
288
288
'value ' => 'value '
289
289
],
290
290
],
291
291
[
292
- '$ value ' => [
292
+ 'value ' => [
293
293
AdvancedPricing::COL_TIER_PRICE_WEBSITE => 'value ' ,
294
294
AdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP => 'value ' ,
295
295
AdvancedPricing::COL_TIER_PRICE_QTY => 1000 ,
296
296
AdvancedPricing::COL_TIER_PRICE => -1000 ,
297
297
],
298
- '$ hasEmptyColumns ' => null ,
299
- '$ customerGroups ' => [
298
+ 'hasEmptyColumns ' => null ,
299
+ 'customerGroups ' => [
300
300
'value ' => 'value '
301
301
],
302
302
],
@@ -311,45 +311,45 @@ public static function isValidAddMessagesCallDataProvider()
311
311
return [
312
312
// First if condition cases.
313
313
[
314
- '$ value ' => [
314
+ 'value ' => [
315
315
AdvancedPricing::COL_TIER_PRICE_WEBSITE => null ,
316
316
AdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP => 'value ' ,
317
317
AdvancedPricing::COL_TIER_PRICE_QTY => 1000 ,
318
318
AdvancedPricing::COL_TIER_PRICE => 1000 ,
319
319
],
320
- '$ hasEmptyColumns ' => null ,
321
- '$ customerGroups ' => [
320
+ 'hasEmptyColumns ' => null ,
321
+ 'customerGroups ' => [
322
322
'value ' => 'value '
323
323
],
324
- '$ expectedMessages ' => [Validator::ERROR_TIER_DATA_INCOMPLETE ],
324
+ 'expectedMessages ' => [Validator::ERROR_TIER_DATA_INCOMPLETE ],
325
325
],
326
326
// Second if condition cases.
327
327
[
328
- '$ value ' => [
328
+ 'value ' => [
329
329
AdvancedPricing::COL_TIER_PRICE_WEBSITE => 'value ' ,
330
330
AdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP => 'not ALL GROUPS ' ,
331
331
AdvancedPricing::COL_TIER_PRICE_QTY => 1000 ,
332
332
AdvancedPricing::COL_TIER_PRICE => 1000 ,
333
333
],
334
- '$ hasEmptyColumns ' => null ,
335
- '$ customerGroups ' => [
334
+ 'hasEmptyColumns ' => null ,
335
+ 'customerGroups ' => [
336
336
'value ' => 'value '
337
337
],
338
- '$ expectedMessages ' => [Validator::ERROR_INVALID_TIER_PRICE_GROUP ],
338
+ 'expectedMessages ' => [Validator::ERROR_INVALID_TIER_PRICE_GROUP ],
339
339
],
340
340
// Third if condition cases.
341
341
[
342
- '$ value ' => [
342
+ 'value ' => [
343
343
AdvancedPricing::COL_TIER_PRICE_WEBSITE => 'value ' ,
344
344
AdvancedPricing::COL_TIER_PRICE_CUSTOMER_GROUP => 'value ' ,
345
345
AdvancedPricing::COL_TIER_PRICE_QTY => -1000 ,
346
346
AdvancedPricing::COL_TIER_PRICE => 1000 ,
347
347
],
348
- '$ hasEmptyColumns ' => null ,
349
- '$ customerGroups ' => [
348
+ 'hasEmptyColumns ' => null ,
349
+ 'customerGroups ' => [
350
350
'value ' => 'value '
351
351
],
352
- '$ expectedMessages ' => [Validator::ERROR_INVALID_TIER_PRICE_QTY ],
352
+ 'expectedMessages ' => [Validator::ERROR_INVALID_TIER_PRICE_QTY ],
353
353
],
354
354
];
355
355
}
0 commit comments