feat(api): enforce ownership across health routines and profile flows

This commit is contained in:
Piotr Oleszczyk 2026-03-12 15:48:13 +01:00
parent cd8e39939a
commit ffa3b71309
14 changed files with 1225 additions and 206 deletions

View file

@ -140,7 +140,7 @@ def test_analyze_photos_includes_user_profile_context(client, monkeypatch):
def _fake_call_gemini(**kwargs):
captured.update(kwargs)
return _FakeResponse()
return _FakeResponse(), None
monkeypatch.setattr(skincare_api, "call_gemini", _fake_call_gemini)