Fix errors where permission scopes were still expected for indexing.

This commit is contained in:
2026-01-24 00:58:18 +00:00
parent cebef8adfc
commit aae33e60ce
6 changed files with 47 additions and 28 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ class TestUserSessionManagement:
"/auth/api/user/session/invalid-session-id",
headers={**auth_headers(session_token), "Host": "localhost:4401"},
)
assert response.status_code == 400
assert response.status_code == 404 # Not found (no format validation)
@pytest.mark.asyncio
async def test_delete_nonexistent_session_returns_404(