@@ -247,9 +247,9 @@ public function filterTestDataProvider()
247
247
}
248
248
249
249
/**
250
- * return test data used for testing requireIf conditions
250
+ * return test data used for testing requiredIf conditions
251
251
*/
252
- public function requireIfTestDataProvider ()
252
+ public function requiredIfTestDataProvider ()
253
253
{
254
254
return [
255
255
//test not checked condition
@@ -271,7 +271,7 @@ public function requireIfTestDataProvider()
271
271
'from ' => 1 ,
272
272
'to ' => 12
273
273
],
274
- 'requireIf ' => [
274
+ 'requiredIf ' => [
275
275
'condition ' => 'notChecked ' ,
276
276
'field ' => 'is-current-work '
277
277
],
@@ -282,7 +282,7 @@ public function requireIfTestDataProvider()
282
282
'from ' => 1920 ,
283
283
'to ' => '{CURRENT_YEAR} ' ,
284
284
],
285
- 'requireIf ' => [
285
+ 'requiredIf ' => [
286
286
'condition ' => 'notChecked ' ,
287
287
'field ' => 'is-current-work '
288
288
],
@@ -316,7 +316,7 @@ public function requireIfTestDataProvider()
316
316
'from ' => 1 ,
317
317
'to ' => 12
318
318
],
319
- 'requireIf ' => [
319
+ 'requiredIf ' => [
320
320
'condition ' => 'notChecked ' ,
321
321
'field ' => 'is-current-work '
322
322
],
@@ -327,7 +327,7 @@ public function requireIfTestDataProvider()
327
327
'from ' => 1920 ,
328
328
'to ' => date ('Y ' ),
329
329
],
330
- 'requireIf ' => [
330
+ 'requiredIf ' => [
331
331
'condition ' => 'notChecked ' ,
332
332
'field ' => 'is-current-work '
333
333
],
@@ -356,7 +356,7 @@ public function requireIfTestDataProvider()
356
356
],
357
357
'email ' => [
358
358
'type ' => 'email ' ,
359
- 'requireIf ' => [
359
+ 'requiredIf ' => [
360
360
'condition ' => 'checked ' ,
361
361
'field ' => 'join-newsletter '
362
362
],
@@ -385,7 +385,7 @@ public function requireIfTestDataProvider()
385
385
],
386
386
'email ' => [
387
387
'type ' => 'email ' ,
388
- 'requireIf ' => [
388
+ 'requiredIf ' => [
389
389
'condition ' => 'checked ' ,
390
390
'field ' => 'join-newsletter '
391
391
],
@@ -413,7 +413,7 @@ public function requireIfTestDataProvider()
413
413
],
414
414
'email ' => [
415
415
'type ' => 'email ' ,
416
- 'requireIf ' => [
416
+ 'requiredIf ' => [
417
417
'condition ' => 'checked ' ,
418
418
'field ' => 'join-newsletter '
419
419
],
@@ -451,7 +451,7 @@ public function requireIfTestDataProvider()
451
451
452
452
//need to
453
453
'calling-code ' => [
454
- 'requireIf ' => [
454
+ 'requiredIf ' => [
455
455
'condition ' => 'notEquals ' ,
456
456
'field ' => 'country ' ,
457
457
'value ' => 'ng '
@@ -487,7 +487,7 @@ public function requireIfTestDataProvider()
487
487
488
488
//need to
489
489
'calling-code ' => [
490
- 'requireIf ' => [
490
+ 'requiredIf ' => [
491
491
'condition ' => 'notEqual ' ,
492
492
'field ' => 'country ' ,
493
493
'value ' => 'ng '
@@ -522,7 +522,7 @@ public function requireIfTestDataProvider()
522
522
//tell us your salary demand if you are in nigeria, other countries
523
523
//are paid equal amount of $50,000 yearly
524
524
'salary-demand ' => [
525
- 'requireIf ' => [
525
+ 'requiredIf ' => [
526
526
'condition ' => 'Equal ' ,
527
527
'field ' => 'country ' ,
528
528
'value ' => 'ng '
@@ -557,7 +557,7 @@ public function requireIfTestDataProvider()
557
557
//tell us your salary demand if you are in nigeria, other countries
558
558
//are paid equal amount of $50,000 yearly
559
559
'salary-demand ' => [
560
- 'requireIf ' => [
560
+ 'requiredIf ' => [
561
561
'condition ' => 'Equal ' ,
562
562
'field ' => 'country ' ,
563
563
'value ' => 'ng '
@@ -593,7 +593,7 @@ public function requireIfTestDataProvider()
593
593
//tell us your salary demand if you are in nigeria, other countries
594
594
//are paid equal amount of $50,000 yearly
595
595
'salary-demand ' => [
596
- 'requireIf ' => [
596
+ 'requiredIf ' => [
597
597
'condition ' => 'Equal ' ,
598
598
'field ' => 'country ' ,
599
599
'value ' => 'ng '
@@ -903,9 +903,9 @@ public function testFilters(...$args)
903
903
}
904
904
905
905
/**
906
- *@dataProvider requireIfTestDataProvider
906
+ *@dataProvider requiredIfTestDataProvider
907
907
*/
908
- public function testRequireIfConditions (...$ args )
908
+ public function testrequiredIfConditions (...$ args )
909
909
{
910
910
$ this ->executeHandlerFeature (...$ args );
911
911
}
0 commit comments