diff --git a/tests/test_me_bootstrap.py b/tests/test_me_bootstrap.py index 731850a..b1ca15f 100644 --- a/tests/test_me_bootstrap.py +++ b/tests/test_me_bootstrap.py @@ -123,7 +123,10 @@ def test_supabase_client_for_user_uses_access_token_authorization(monkeypatch): assert anon.access_token == "user-token" assert captured["url"] == "http://supabase.test" assert captured["key"] == "anon-key" - assert captured["options_kwargs"]["headers"] == {"Authorization": "Bearer user-token"} + assert captured["options_kwargs"]["headers"] == { + "apikey": "anon-key", + "Authorization": "Bearer user-token", + } def test_no_school_bootstrap_requires_school_membership_but_allows_canvas():