You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/feature/Rules/AttributesTest.php
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -52,11 +52,7 @@
52
52
[
53
53
'__root__' => '`Respect\Validation\Test\Stubs\WithAttributes { +$name="" +$birthdate="not a date" +$email="not an email" +$phone ... }` must pass the rules',
54
54
'name' => '`.name` must not be empty',
55
-
'birthdate' => [
56
-
'__root__' => '`.birthdate` must pass all the rules',
57
-
'date' => '`.birthdate` must be a valid date in the format "2005-12-30"',
58
-
'dateTimeDiffLessThanOrEqual' => 'For comparison with now, `.birthdate` must be a valid datetime',
59
-
],
55
+
'birthdate' => 'For comparison with now, `.birthdate` must be a valid datetime',
60
56
'email' => '`.email` must be a valid email address or must be null',
61
57
'phone' => '`.phone` must be a valid telephone number or must be null',
0 commit comments