@@ -56,7 +56,7 @@ public static function getTestCases()
56
56
#1 Testing price for fixed bundle product
57
57
with catalog price rule and without sub items and options
58
58
' => [
59
- 'strategy ' => self ::getBundleConfiguration1 (),
59
+ 'strategyModifiers ' => self ::getBundleConfiguration1 (),
60
60
'expectedResults ' => [
61
61
// 110 * 0.9
62
62
'minimalPrice ' => 99 ,
@@ -70,7 +70,7 @@ public static function getTestCases()
70
70
#2 Testing price for fixed bundle product
71
71
with catalog price rule, fixed sub items and fixed options
72
72
' => [
73
- 'strategy ' => self ::getBundleConfiguration2 (
73
+ 'strategyModifiers ' => self ::getBundleConfiguration2 (
74
74
LinkInterface::PRICE_TYPE_FIXED ,
75
75
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
76
76
),
@@ -87,7 +87,7 @@ public static function getTestCases()
87
87
#3 Testing price for fixed bundle product
88
88
with catalog price rule, percent sub items and percent options
89
89
' => [
90
- 'strategy ' => self ::getBundleConfiguration2 (
90
+ 'strategyModifiers ' => self ::getBundleConfiguration2 (
91
91
LinkInterface::PRICE_TYPE_PERCENT ,
92
92
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
93
93
),
@@ -104,7 +104,7 @@ public static function getTestCases()
104
104
#4 Testing price for fixed bundle product
105
105
with catalog price rule, fixed sub items and percent options
106
106
' => [
107
- 'strategy ' => self ::getBundleConfiguration2 (
107
+ 'strategyModifiers ' => self ::getBundleConfiguration2 (
108
108
LinkInterface::PRICE_TYPE_FIXED ,
109
109
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
110
110
),
@@ -121,7 +121,7 @@ public static function getTestCases()
121
121
#5 Testing price for fixed bundle product
122
122
with catalog price rule, percent sub items and fixed options
123
123
' => [
124
- 'strategy ' => self ::getBundleConfiguration2 (
124
+ 'strategyModifiers ' => self ::getBundleConfiguration2 (
125
125
LinkInterface::PRICE_TYPE_PERCENT ,
126
126
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
127
127
),
@@ -138,7 +138,7 @@ public static function getTestCases()
138
138
#6 Testing price for fixed bundle product
139
139
with catalog price rule, fixed sub items and fixed options
140
140
' => [
141
- 'strategy ' => self ::getBundleConfiguration3 (
141
+ 'strategyModifiers ' => self ::getBundleConfiguration3 (
142
142
LinkInterface::PRICE_TYPE_FIXED ,
143
143
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
144
144
),
@@ -155,7 +155,7 @@ public static function getTestCases()
155
155
#7 Testing price for fixed bundle product
156
156
with catalog price rule, percent sub items and percent options
157
157
' => [
158
- 'strategy ' => self ::getBundleConfiguration3 (
158
+ 'strategyModifiers ' => self ::getBundleConfiguration3 (
159
159
LinkInterface::PRICE_TYPE_PERCENT ,
160
160
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
161
161
),
@@ -172,7 +172,7 @@ public static function getTestCases()
172
172
#8 Testing price for fixed bundle product
173
173
with catalog price rule, fixed sub items and percent options
174
174
' => [
175
- 'strategy ' => self ::getBundleConfiguration3 (
175
+ 'strategyModifiers ' => self ::getBundleConfiguration3 (
176
176
LinkInterface::PRICE_TYPE_FIXED ,
177
177
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
178
178
),
@@ -189,7 +189,7 @@ public static function getTestCases()
189
189
#9 Testing price for fixed bundle product
190
190
with catalog price rule, percent sub items and fixed options
191
191
' => [
192
- 'strategy ' => self ::getBundleConfiguration3 (
192
+ 'strategyModifiers ' => self ::getBundleConfiguration3 (
193
193
LinkInterface::PRICE_TYPE_PERCENT ,
194
194
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
195
195
),
@@ -206,7 +206,7 @@ public static function getTestCases()
206
206
#10 Testing price for fixed bundle product
207
207
with catalog price rule, fixed sub items and fixed options
208
208
' => [
209
- 'strategy ' => self ::getBundleConfiguration4 (
209
+ 'strategyModifiers ' => self ::getBundleConfiguration4 (
210
210
LinkInterface::PRICE_TYPE_FIXED ,
211
211
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
212
212
),
@@ -223,7 +223,7 @@ public static function getTestCases()
223
223
#11 Testing price for fixed bundle product
224
224
with catalog price rule, percent sub items and percent options
225
225
' => [
226
- 'strategy ' => self ::getBundleConfiguration4 (
226
+ 'strategyModifiers ' => self ::getBundleConfiguration4 (
227
227
LinkInterface::PRICE_TYPE_PERCENT ,
228
228
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
229
229
),
@@ -240,7 +240,7 @@ public static function getTestCases()
240
240
#12 Testing price for fixed bundle product
241
241
with catalog price rule, fixed sub items and percent options
242
242
' => [
243
- 'strategy ' => self ::getBundleConfiguration4 (
243
+ 'strategyModifiers ' => self ::getBundleConfiguration4 (
244
244
LinkInterface::PRICE_TYPE_FIXED ,
245
245
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
246
246
),
@@ -257,7 +257,7 @@ public static function getTestCases()
257
257
#13 Testing price for fixed bundle product
258
258
with catalog price rule, percent sub items and fixed options
259
259
' => [
260
- 'strategy ' => self ::getBundleConfiguration4 (
260
+ 'strategyModifiers ' => self ::getBundleConfiguration4 (
261
261
LinkInterface::PRICE_TYPE_PERCENT ,
262
262
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
263
263
),
@@ -274,7 +274,7 @@ public static function getTestCases()
274
274
#14 Testing price for fixed bundle product
275
275
with catalog price rule, fixed sub items and fixed options
276
276
' => [
277
- 'strategy ' => self ::getBundleConfiguration5 (
277
+ 'strategyModifiers ' => self ::getBundleConfiguration5 (
278
278
LinkInterface::PRICE_TYPE_FIXED ,
279
279
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
280
280
),
@@ -291,7 +291,7 @@ public static function getTestCases()
291
291
#15 Testing price for fixed bundle product
292
292
with catalog price rule, percent sub items and percent options
293
293
' => [
294
- 'strategy ' => self ::getBundleConfiguration5 (
294
+ 'strategyModifiers ' => self ::getBundleConfiguration5 (
295
295
LinkInterface::PRICE_TYPE_PERCENT ,
296
296
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
297
297
),
@@ -308,7 +308,7 @@ public static function getTestCases()
308
308
#16 Testing price for fixed bundle product
309
309
with catalog price rule, fixed sub items and percent options
310
310
' => [
311
- 'strategy ' => self ::getBundleConfiguration5 (
311
+ 'strategyModifiers ' => self ::getBundleConfiguration5 (
312
312
LinkInterface::PRICE_TYPE_FIXED ,
313
313
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
314
314
),
@@ -325,7 +325,7 @@ public static function getTestCases()
325
325
#17 Testing price for fixed bundle product
326
326
with catalog price rule, percent sub items and fixed options
327
327
' => [
328
- 'strategy ' => self ::getBundleConfiguration5 (
328
+ 'strategyModifiers ' => self ::getBundleConfiguration5 (
329
329
LinkInterface::PRICE_TYPE_PERCENT ,
330
330
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
331
331
),
@@ -342,7 +342,7 @@ public static function getTestCases()
342
342
#18 Testing price for fixed bundle product
343
343
with catalog price rule, fixed sub items and fixed options
344
344
' => [
345
- 'strategy ' => self ::getBundleConfiguration6 (
345
+ 'strategyModifiers ' => self ::getBundleConfiguration6 (
346
346
LinkInterface::PRICE_TYPE_FIXED ,
347
347
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
348
348
),
@@ -359,7 +359,7 @@ public static function getTestCases()
359
359
#19 Testing price for fixed bundle product
360
360
with catalog price rule, percent sub items and percent options
361
361
' => [
362
- 'strategy ' => self ::getBundleConfiguration6 (
362
+ 'strategyModifiers ' => self ::getBundleConfiguration6 (
363
363
LinkInterface::PRICE_TYPE_PERCENT ,
364
364
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
365
365
),
@@ -376,7 +376,7 @@ public static function getTestCases()
376
376
#20 Testing price for fixed bundle product
377
377
with catalog price rule, fixed sub items and percent options
378
378
' => [
379
- 'strategy ' => self ::getBundleConfiguration6 (
379
+ 'strategyModifiers ' => self ::getBundleConfiguration6 (
380
380
LinkInterface::PRICE_TYPE_FIXED ,
381
381
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
382
382
),
@@ -393,7 +393,7 @@ public static function getTestCases()
393
393
#21 Testing price for fixed bundle product
394
394
with catalog price rule, percent sub items and fixed options
395
395
' => [
396
- 'strategy ' => self ::getBundleConfiguration6 (
396
+ 'strategyModifiers ' => self ::getBundleConfiguration6 (
397
397
LinkInterface::PRICE_TYPE_PERCENT ,
398
398
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
399
399
),
@@ -410,7 +410,7 @@ public static function getTestCases()
410
410
#22 Testing price for fixed bundle product
411
411
with catalog price rule, fixed sub items and fixed options
412
412
' => [
413
- 'strategy ' => self ::getBundleConfiguration7 (
413
+ 'strategyModifiers ' => self ::getBundleConfiguration7 (
414
414
LinkInterface::PRICE_TYPE_FIXED ,
415
415
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
416
416
),
@@ -427,7 +427,7 @@ public static function getTestCases()
427
427
#23 Testing price for fixed bundle product
428
428
with catalog price rule, percent sub items and percent options
429
429
' => [
430
- 'strategy ' => self ::getBundleConfiguration7 (
430
+ 'strategyModifiers ' => self ::getBundleConfiguration7 (
431
431
LinkInterface::PRICE_TYPE_PERCENT ,
432
432
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
433
433
),
@@ -444,7 +444,7 @@ public static function getTestCases()
444
444
#24 Testing price for fixed bundle product
445
445
with catalog price rule, fixed sub items and percent options
446
446
' => [
447
- 'strategy ' => self ::getBundleConfiguration7 (
447
+ 'strategyModifiers ' => self ::getBundleConfiguration7 (
448
448
LinkInterface::PRICE_TYPE_FIXED ,
449
449
self ::CUSTOM_OPTION_PRICE_TYPE_PERCENT
450
450
),
@@ -461,7 +461,7 @@ public static function getTestCases()
461
461
#25 Testing price for fixed bundle product
462
462
with catalog price rule, percent sub items and fixed options
463
463
' => [
464
- 'strategy ' => self ::getBundleConfiguration7 (
464
+ 'strategyModifiers ' => self ::getBundleConfiguration7 (
465
465
LinkInterface::PRICE_TYPE_PERCENT ,
466
466
self ::CUSTOM_OPTION_PRICE_TYPE_FIXED
467
467
),
0 commit comments