whisper-money/tests/Feature/Api
Víctor Falcón 057e78c3eb refactor(accounts): centralize the "has transaction ledger" rule and stabilize pagination
Follow-up to the backend migration, addressing review feedback.

- Replace the inline non-transactional type list in AccountController@show with
  a purpose-named AccountType::hasTransactionLedger(). This gives the backend a
  single named concept that mirrors the frontend isTransactionalAccount, and its
  docblock spells out why it differs from the existing isNonTransactional()
  (which excludes loan) so a future change won't reach for the wrong method.
- Add an `id` tiebreak to the account_id-filtered index ordering so
  simplePaginate produces a deterministic order for same-day transactions,
  matching AccountController@show.
- Cover the per_page lower clamp and cross-user account scoping with tests.
2026-07-03 16:02:31 +02:00
..
AccountApiTest.php Remove encryption from bank account names (#104) 2026-02-09 14:15:26 +01:00
TransactionDuplicateCheckTest.php feat(transactions): serve import dedup and account ledger from the backend 2026-07-03 16:00:58 +02:00
TransactionIndexTest.php refactor(accounts): centralize the "has transaction ledger" rule and stabilize pagination 2026-07-03 16:02:31 +02:00