refactor(website): add 'dates_text' field to event configuration and update related tests

This commit is contained in:
2026-07-29 16:23:24 -03:00
parent 8e3ee7eff6
commit 2cc72be850
6 changed files with 9 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ class TenantSeeder extends Seeder
'eventConfig' => [
'title' => 'Fiesta Fútbol Infantil',
'location' => 'Rosario, Santa Fe',
'dates_text' => '9, 10, 11 y 12 de Octubre 2026',
'dates' => [
'2026-12-05',
'2026-12-06',

View File

@@ -85,6 +85,7 @@ class WebsiteTypeSeeder extends Seeder
'$' => 'required|array',
'title' => 'nullable|string',
'location' => 'nullable|string',
'dates_text' => 'nullable|string|max:255',
'dates' => 'nullable|array',
'dates.*' => 'required|date_format:Y-m-d|distinct',
],
@@ -93,6 +94,7 @@ class WebsiteTypeSeeder extends Seeder
'$' => 'required|array',
'title' => 'nullable|string',
'location' => 'nullable|string',
'dates_text' => 'nullable|string|max:255',
'dates' => 'nullable|array',
'dates.*' => 'required|date_format:Y-m-d|distinct',
],