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
8181 $ data = $ validData ;
8282 $ data ['setTemplateSenderEmail ' ] = null ;
8383 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 ' ,
8585 $ data ,
8686 ];
8787
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ public function provideValidateAdminBlockData(): Generator
3535 yield 'errors: blank blockname ' => [
3636 [
3737 'Block Name is required field. ' ,
38- 'Block Name is incorrect. ' ,
3938 'Is Allowed is required field. ' ,
4039 ],
4140 [
Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ public function provideValidateApiUserData(): Generator
8080 yield 'missing api key ' => [
8181 [
8282 $ errorLength ,
83- $ errorAlphaNumeric ,
8483 $ errorIdentical ,
8584 ],
8685 $ data ,
Original file line number Diff line number Diff line change @@ -92,31 +92,31 @@ public function provideValidateCustomerData(): Generator
9292 $ data ['getDob ' ] = '' ;
9393 $ data ['shouldValidateDob ' ] = true ;
9494 yield 'missing dob ' => [
95- true , # ['The Date of Birth is required.'],
95+ ['The Date of Birth is required. ' ],
9696 $ data ,
9797 ];
9898
9999 $ data = $ validCustomer ;
100100 $ data ['getDob ' ] = 'abc ' ;
101101 $ data ['shouldValidateDob ' ] = true ;
102102 yield 'invalid dob ' => [
103- true , # ['This value is not a valid date.'],
103+ ['This value is not a valid date. ' ],
104104 $ data ,
105105 ];
106106
107107 $ data = $ validCustomer ;
108108 $ data ['getTaxvat ' ] = '' ;
109109 $ data ['shouldValidateTaxvat ' ] = true ;
110110 yield 'missing taxvat ' => [
111- true , # ['The TAX/VAT number is required.'],
111+ ['The TAX/VAT number is required. ' ],
112112 $ data ,
113113 ];
114114
115115 $ data = $ validCustomer ;
116116 $ data ['getGender ' ] = '' ;
117117 $ data ['shouldValidateGender ' ] = true ;
118118 yield 'missing gender ' => [
119- true , # ['Gender is required.'],
119+ ['Gender is required. ' ],
120120 $ data ,
121121 ];
122122 }
You can’t perform that action at this time.
0 commit comments