From ebfe29593ce9c58183990acdff7480d5b9522579 Mon Sep 17 00:00:00 2001 From: Daniel Cho Date: Fri, 1 Dec 2023 15:58:57 -0500 Subject: [PATCH] fix: update validation errors --- tests/Datasets/MeetingRequestValidationErrors.php | 2 +- tests/Datasets/UpdateEngagementRequestValidationErrors.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Datasets/MeetingRequestValidationErrors.php b/tests/Datasets/MeetingRequestValidationErrors.php index 6504eac62..aa5ed9705 100644 --- a/tests/Datasets/MeetingRequestValidationErrors.php +++ b/tests/Datasets/MeetingRequestValidationErrors.php @@ -77,7 +77,7 @@ ], 'Meeting types is not an array' => [ ['meeting_types' => MeetingType::InPerson->value], - fn () => ['meeting_types' => __('validation.array', ['attribute' => __('meeting types')])], + fn () => ['meeting_types' => __('validation.array', ['attribute' => __('ways to attend')])], ], 'Meeting type is invalid' => [ ['meeting_types' => ['new_meeting_type']], diff --git a/tests/Datasets/UpdateEngagementRequestValidationErrors.php b/tests/Datasets/UpdateEngagementRequestValidationErrors.php index 096eb2d57..390910c53 100644 --- a/tests/Datasets/UpdateEngagementRequestValidationErrors.php +++ b/tests/Datasets/UpdateEngagementRequestValidationErrors.php @@ -164,7 +164,7 @@ 'Weekday availabilities is not an array' => [ fn () => ['weekday_availabilities' => Availability::Available->value], fn () => [ - 'weekday_availabilities' => __('validation.array', ['attribute' => __('weekday availabilities')]), + 'weekday_availabilities' => __('validation.array', ['attribute' => __('availability')]), 'weekday_availabilities.monday' => __('validation.required', ['attribute' => __('availability for Monday')]), 'weekday_availabilities.tuesday' => __('validation.required', ['attribute' => __('availability for Tuesday')]), 'weekday_availabilities.wednesday' => __('validation.required', ['attribute' => __('availability for Wednesday')]),