feat(event): implement automatic tenant date text synchronization on save and delete; update related tests
This commit is contained in:
@@ -42,6 +42,8 @@ class FiestaFutbolInfantilProductSeederTest extends TestCase
|
||||
$this->seed([AttributeSeeder::class, FiestaFutbolInfantilProductSeeder::class]);
|
||||
$this->seed([AttributeSeeder::class, FiestaFutbolInfantilProductSeeder::class]);
|
||||
|
||||
$this->assertSame('9, 10, 11 y 12 de Octubre 2026', $tenant->fresh()->event_date_text);
|
||||
|
||||
$this->assertSame(
|
||||
['color', 'event_date', 'horario', 'servicio', 'talle', 'tipo_alojamiento'],
|
||||
Attribute::query()->where('tenant_codigo', $tenant->codigo)->orderBy('codigo')->pluck('codigo')->all(),
|
||||
|
||||
Reference in New Issue
Block a user