Skip to content

Commit a32684b

Browse files
committed
small fix
1 parent c2d9ab4 commit a32684b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/app/tests/api/routes/test_login.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,6 @@ def test_reset_password_invalid_token(
113113
)
114114
response = r.json()
115115

116-
assert "detail" in response
116+
assert "error" in response
117117
assert r.status_code == 400
118-
assert response["detail"] == "Invalid token"
118+
assert response["error"] == "Invalid token"

0 commit comments

Comments
 (0)