File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11<?php
22
33return [
4- 'country_name ' => 'The :attribute has not a valid country name. ' ,
5- 'country_code ' => 'The :attribute has not a valid country code. ' ,
6- 'administrative_area ' => 'The :attribute has not a valid administrative area name . ' ,
7- 'administrative_area_code ' => 'The :attribute has not a valid administrative area code . ' ,
8- 'administrative_area_name ' => 'The :attribute has not a valid administrative area name . ' ,
9- 'postal_code ' => 'The :attribute seems do be a not valid postal code. ' ,
4+ 'country_name ' => 'The :attribute field is not a valid country name. ' ,
5+ 'country_code ' => 'The :attribute field is not a valid country code. ' ,
6+ 'administrative_area ' => 'The :attribute field is not a valid state/province . ' ,
7+ 'administrative_area_code ' => 'The :attribute field has not a valid state/province . ' ,
8+ 'administrative_area_name ' => 'The :attribute field has not a valid state/province . ' ,
9+ 'postal_code ' => 'The :attribute field does not seem to be a valid postal code. ' ,
1010];
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function testENMessages()
3737 if ($ validator ->fails ()) {
3838 $ messages = $ validator ->errors ()->get ('country ' );
3939 $ first = array_shift ($ messages );
40- $ this ->assertEquals ($ first , 'The country has not a valid country code. ' );
40+ $ this ->assertEquals ($ first , 'The country field is not a valid country code. ' );
4141 }
4242 }
4343
@@ -65,7 +65,7 @@ public function testENMessagesForAdministrativeAreaValidator()
6565 if ($ validator ->fails ()) {
6666 $ messages = $ validator ->errors ()->get ('state ' );
6767 $ first = array_shift ($ messages );
68- $ this ->assertEquals ($ first , 'The state has not a valid administrative area name . ' );
68+ $ this ->assertEquals ($ first , 'The state field is not a valid state/province . ' );
6969 }
7070 }
7171}
You can’t perform that action at this time.
0 commit comments