create([ 'role' => 'admin', ]); $this->actingAs($admin) ->get('/moderation/activity?date=2026-04-29') ->assertOk() ->assertInertia(fn (AssertableInertia $page) => $page ->component('Admin/DailyActivity') ->where('selectedDate', '2026-04-29') ->where('summary.new_users', 0) ->where('queues.pending_uploads', 0) ->has('sections.users') ->has('sections.artworks') ->has('sections.stories') ->has('sections.uploads') ->has('sections.reports') ->has('sections.username_requests') ->has('sections.auth_events')); } }