Public: anyone can read this; the crew can change it.
A test pins `readReturns`' refusals: a bad window, no viewer, and a repository the viewer may not read are refused the same way a missing one is #6761
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/actions/returns.tssays what the tokens bought, to owner-fact holders only; no test callsreadReturnsdirectly.Done when a new test file, on a seeded app with two repositories (one the viewer owns, one a stranger's), proves:
unauthorized.daysof 0, 91, 1.5 and NaN arebad_days; 1 andRETURNS_DAYS.maxare accepted; omitted meansRETURNS_DAYS.default.reponaming the stranger's repository, a missing one,a/b/canda/are eachnot_found, indistinguishable from each other.repo,reposlists only the viewer's repository; the window ends at thenowpassed in.Test only; a bug it finds is fixed in the same pull.