Skip to content

Commit

Permalink
fix for google sign in issue
Browse files Browse the repository at this point in the history
  • Loading branch information
GMayank0310 committed Jan 17, 2025
1 parent 9a77482 commit 7f09309
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration_test/services_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -29520,6 +29520,7 @@ def _password_reset(*args, **kwargs):
data={"username": "[email protected]", "password": "Welcome@10"},
)
actual = response_log.json()
UserEmailConfirmation(email="[email protected]").save()

assert actual["success"]
assert actual["error_code"] == 0
Expand All @@ -29531,10 +29532,10 @@ def _password_reset(*args, **kwargs):
"Authorization": pytest.token_type_delete + " " + pytest.access_token_delete
},
).json()
UserEmailConfirmation(email="[email protected]").save()
assert response["success"]
assert response["message"] == "Account deleted"
assert response["error_code"] == 0
assert UserEmailConfirmation.objects(email="[email protected]").count() == 0


def test_delete_account_already_deleted():
Expand Down

0 comments on commit 7f09309

Please sign in to comment.