@@ -296,7 +296,7 @@ async fn test_user_endpoints(db: Pool<Postgres>) -> 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()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user