test isses fixes
This commit is contained in:
@@ -160,14 +160,14 @@ class TestFrontendAuthIntegration:
|
||||
"/api/auth/setup",
|
||||
json={"master_password": "short"}
|
||||
)
|
||||
assert response.status_code == 400
|
||||
assert response.status_code in [400, 422]
|
||||
|
||||
# Try with all lowercase
|
||||
response = await client.post(
|
||||
"/api/auth/setup",
|
||||
json={"master_password": "alllowercase"}
|
||||
)
|
||||
assert response.status_code == 400
|
||||
assert response.status_code in [400, 422]
|
||||
|
||||
# Try without special characters
|
||||
response = await client.post(
|
||||
@@ -224,7 +224,7 @@ class TestTokenAuthenticationFlow:
|
||||
|
||||
# Test various authenticated endpoints
|
||||
endpoints = [
|
||||
"/api/v1/anime",
|
||||
"/api/v1/anime/",
|
||||
"/api/queue/status",
|
||||
"/api/config",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user