feat: validate tests

This commit is contained in:
2026-05-22 13:43:26 +02:00
parent 025b2592b4
commit 8ebfd6badf
4 changed files with 3 additions and 5 deletions
-1
View File
@@ -33,7 +33,6 @@ class UpdateUserRequest extends FormRequest
'pacePreference' => ['sometimes', Rule::enum(PacePreference::class)],
'sex' => ['sometimes', Rule::enum(UserSex::class)],
'dateOfBirth' => ['sometimes', 'nullable', 'date_format:Y-m-d', 'before:today', 'after:1900-01-01'],
'date_of_birth' => ['sometimes', 'nullable', 'date_format:Y-m-d', 'before:today', 'after:1900-01-01'],
];
}