fix: harden admin employee views against malformed data

This commit is contained in:
Anton
2026-04-29 11:11:57 +03:00
parent ce90414654
commit 7530cbdb60
5 changed files with 49 additions and 16 deletions

View File

@@ -18,7 +18,7 @@ def test_health_returns_versions():
response = client.get("/api/health")
assert response.status_code == 200
assert response.json()["backend_version"] == "0.2.2"
assert response.json()["backend_version"] == "0.2.3"
def test_mcp_requires_token_and_lists_tools():