Fix tests.

This commit is contained in:
grossmj committed 2021-04-28 15:56:11 +09:30
1 parent b1b3338e3c
commit ad7d8e2e7d
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -235,7 +235,7 @@ class TestUserLogin:
(
("wrong_username", "user1_password", status.HTTP_401_UNAUTHORIZED),
("user1", "wrong_password", status.HTTP_401_UNAUTHORIZED),
("user1", None, status.HTTP_401_UNAUTHORIZED),
("user1", None, status.HTTP_422_UNPROCESSABLE_ENTITY),
),
)
async def test_user_with_wrong_creds_doesnt_receive_token(