fill([ 'uuid' => (string) Str::uuid(), 'to_email' => 'first@example.com', 'to_recipients' => ['first@example.com', 'second@example.com'], 'subject' => 'Test Subject', 'status' => EmailLogStatus::Queued, 'queued_at' => now(), ]); $log->save(); $fresh = EmailLog::query()->findOrFail($log->id); expect($fresh->to_recipients) ->toBeArray() ->and($fresh->to_recipients) ->toContain('first@example.com', 'second@example.com'); });