Commit Graph

2 Commits

Author SHA1 Message Date
Nathnael
2f86557f61 test(e2e): teach the eTrade mock to answer "no record"
Every TIN resolved to the same canned company, so the premise of both manual
routes — eTrade holds nothing — could not be reached at all, and neither could
the dead end an ordinary company hits on a TIN with no trade licence.

The answer now follows the TIN's leading digit, so a spec picks its outcome by
picking its number and no per-spec stubbing is needed: 9… returns a
registration with no businesses (the co-operative / investor case, where the
API's resolveCompanyData finds no licence), 8… 404s the registration lookup
entirely, anything else behaves as before.
2026-08-18 11:37:58 +00:00
Nathnael
991881108d chore: test fixes 2026-07-31 10:33:27 +00:00