🐛 Fixed test

This commit is contained in:
Mawoka
2022-06-21 20:48:51 +02:00
parent 4d8caa6dc7
commit 1de17afbda
+1 -1
View File
@@ -190,7 +190,7 @@ class TestUsers:
resp = test_client.post("/api/v1/users/forgot-password", json={"email": test_user_email})
assert resp.status_code == 200
resp = test_client.post("/api/v1/users/forgot-password", json={"email": "ddassad@dsa.ads"})
assert resp.status_code == 404
assert resp.status_code == 200
@pytest.mark.asyncio
async def test_reset_password_with_token(self, test_client): # noqa : F811