fix(maps): exclude stadia key from localStorage cache

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
James Smith
2026-04-13 22:11:34 +01:00
parent 5483ce5c3f
commit ca235c0de9
2 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ def test_stadia_key_can_be_saved(auth_client):
assert data["value"] == "test-key-123"
def test_stadia_key_rejects_non_string(auth_client):
"""POST /offline/settings rejects non-string stadia_key."""
def test_stadia_key_coerces_non_string(auth_client):
"""POST /offline/settings coerces non-string stadia_key to string."""
resp = auth_client.post("/offline/settings", json={"key": "offline.stadia_key", "value": 42})
# Should coerce to string '42' (type matches str default) — not 400
assert resp.status_code == 200