brewlog/tests
Jon Seager a9d97d40bd
refactor(ai): make OpenRouter URL configurable for testability
Add url parameter to ai::extract_roaster(), extract_roast(), and
extract_bag_scan() instead of using a hardcoded constant. Wire through
AppState.openrouter_url (defaulting to the production URL), matching
the existing pattern used for foursquare_url.

Add test infrastructure: session creation helper, page_url() on
TestApp, and spawn_app_with_openrouter_mock() for wiremock-based
AI extraction testing.
2026-02-05 19:18:51 +00:00
..
cli test(auth): update tests for passkey migration 2026-02-05 11:00:20 +00:00
server refactor(ai): make OpenRouter URL configurable for testability 2026-02-05 19:18:51 +00:00