File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public function validateTemplateDataProvider(): Generator
81
81
$ data = $ validData ;
82
82
$ data ['setTemplateSenderEmail ' ] = null ;
83
83
yield 'missing sender email ' => [
84
- 'You must give a non-empty value for field \' template_sender_email \' ' ,
84
+ '\' invalid-email \' is not a valid email address in the basic format local-part@hostname ' ,
85
85
$ data ,
86
86
];
87
87
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ public function provideValidateAdminBlockData(): Generator
35
35
yield 'errors: blank blockname ' => [
36
36
[
37
37
'Block Name is required field. ' ,
38
- 'Block Name is incorrect. ' ,
39
38
'Is Allowed is required field. ' ,
40
39
],
41
40
[
Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ public function provideValidateApiUserData(): Generator
80
80
yield 'missing api key ' => [
81
81
[
82
82
$ errorLength ,
83
- $ errorAlphaNumeric ,
84
83
$ errorIdentical ,
85
84
],
86
85
$ data ,
Original file line number Diff line number Diff line change @@ -92,31 +92,31 @@ public function provideValidateCustomerData(): Generator
92
92
$ data ['getDob ' ] = '' ;
93
93
$ data ['shouldValidateDob ' ] = true ;
94
94
yield 'missing dob ' => [
95
- true , # ['The Date of Birth is required.'],
95
+ ['The Date of Birth is required. ' ],
96
96
$ data ,
97
97
];
98
98
99
99
$ data = $ validCustomer ;
100
100
$ data ['getDob ' ] = 'abc ' ;
101
101
$ data ['shouldValidateDob ' ] = true ;
102
102
yield 'invalid dob ' => [
103
- true , # ['This value is not a valid date.'],
103
+ ['This value is not a valid date. ' ],
104
104
$ data ,
105
105
];
106
106
107
107
$ data = $ validCustomer ;
108
108
$ data ['getTaxvat ' ] = '' ;
109
109
$ data ['shouldValidateTaxvat ' ] = true ;
110
110
yield 'missing taxvat ' => [
111
- true , # ['The TAX/VAT number is required.'],
111
+ ['The TAX/VAT number is required. ' ],
112
112
$ data ,
113
113
];
114
114
115
115
$ data = $ validCustomer ;
116
116
$ data ['getGender ' ] = '' ;
117
117
$ data ['shouldValidateGender ' ] = true ;
118
118
yield 'missing gender ' => [
119
- true , # ['Gender is required.'],
119
+ ['Gender is required. ' ],
120
120
$ data ,
121
121
];
122
122
}
You can’t perform that action at this time.
0 commit comments