Fix event naming and checklist labels
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-23 17:13:10 +01:00
parent 1c4c93c547
commit ee6fb7a5bb
5 changed files with 79 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ class EventControllerTest extends TenantTestCase
$this->assertDatabaseHas('events', [
'tenant_id' => $tenant->id,
'name' => json_encode('Test Event'),
'name' => json_encode(['de' => 'Test Event']),
'slug' => 'test-event',
'event_type_id' => $eventType->id,
]);
@@ -293,6 +293,7 @@ class EventControllerTest extends TenantTestCase
$event->refresh();
$settings = $event->settings;
$this->assertSame(['de' => 'Live Show Event'], $event->name);
$this->assertSame('manual', data_get($settings, 'live_show.moderation_mode'));
$this->assertSame(12, data_get($settings, 'live_show.retention_window_hours'));
$this->assertSame('balanced', data_get($settings, 'live_show.playback_mode'));