refactor: simplify queries

This commit is contained in:
Vlad Stan
2026-02-03 18:10:41 +02:00
parent bf1ad185b9
commit 31a2d68285
4 changed files with 29 additions and 43 deletions
+2 -2
View File
@@ -658,8 +658,8 @@ async def test_user_activation(
response = await http_client.post(
"/api/v1/auth", json={"username": username, "password": "secret1234"}
)
assert response.status_code == 403
assert response.json().get("detail") == "Account is not activated."
assert response.status_code == 401
assert response.json().get("detail") == "Invalid credentials."
response = await http_client.get(
"/api/v1/auth",