whisper-money/tests
Víctor Falcón a7523bfc4f fix(wise): send the pagination cursor under the name Wise reads
Wise's activity endpoint returns the cursor as `cursor` but only reads it back
as `nextCursor`. We sent `cursor`, which it silently ignores — so every request
returned the first page again and the walk could never terminate. Not "a year of
history is too much to paginate": it was an infinite loop over page one.

The production data says the same thing without the docs. The one live Wise
connection imported 97 rows in two consecutive seconds on 2026-07-29 — exactly
one `size=100` page after CARD_CHECK and non-EUR filtering — and in roughly 50
runs over the next 14 days never imported a single row older than 2025-12-19.
Page two has never been fetched. Meanwhile the loop hammered one endpoint for
120s straight, four times a day, until Wise started answering with timeouts and
a 500 — which is what made this look like a slow-provider problem.

The test tells the two apart by keying the fake off `nextCursor`, so the old
name looks like what it was: a one-page history that never ends. With the wrong
name the test does not terminate (verified under an alarm); with the right one it
pages twice and stops.
2026-08-12 13:14:33 +02:00
..
.pest Speed up PR CI browser path (#365) 2026-05-07 20:40:13 +01:00
Browser feat(subscriptions): end the trial experiment and make the trial length per plan (#762) 2026-08-12 10:59:55 +02:00
Feature fix(wise): send the pagination cursor under the name Wise reads 2026-08-12 13:14:33 +02:00
Fixtures refactor: consolidate duplicated financial calculations (#643) 2026-07-04 22:26:44 +02:00
Performance feat(transactions): make new-transaction marker cross-device (#611) 2026-06-29 19:11:37 +02:00
Support test(open-banking): e2e coverage for Enable Banking connection flows (#509) 2026-06-09 11:58:50 +02:00
Unit feat(subscriptions): end the trial experiment and make the trial length per plan (#762) 2026-08-12 10:59:55 +02:00
Pest.php chore: harden Inertia boundary, CI type-check, and test isolation (#640) 2026-07-04 18:57:58 +00:00
TestCase.php Remove encryption from browser tests and demo user (#129) 2026-02-17 11:45:27 +01:00
bootstrap.php chore: upgrade Laravel 12 to 13 (#242) 2026-03-25 12:56:33 +00:00