diff --git a/backend/tests/users.rs b/backend/tests/users.rs index ceccbe70a3..352b3cc5c6 100644 --- a/backend/tests/users.rs +++ b/backend/tests/users.rs @@ -296,7 +296,7 @@ async fn test_user_endpoints(db: Pool) -> anyhow::Result<()> { .await .unwrap(); assert!( - resp.status() == 401 || resp.status() == 500, + resp.status() == 400 || resp.status() == 401 || resp.status() == 500, "login: unexpected status {}", resp.status() );