mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
The lazy-mint tests POSTed to a hard-coded /api/search/site while the handler
still defaulted search_url to /api/find, so the mint and the search addressed
unrelated endpoints and the tests would have passed with the two out of sync.
Handlers under test are now built pointed at one endpoint, requests go to
handler.search_url, and the mint is asserted against f"{search_url}/init" rather
than against search_init_url, which the mint reads and so can never contradict.
Stops naming /api/bleed throughout the file as well, since this branch is what
makes that endpoint dead.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>