Skip to content

Commit

Permalink
fix: Fix auth test
Browse files Browse the repository at this point in the history
  • Loading branch information
drorganvidez committed Oct 24, 2024
1 parent 48f52a7 commit ed90b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/modules/auth/tests/test_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def test_confirm_user_active_user(test_client):

url = url_for('confirmemail.confirm_user', token=token, _external=False)
response = test_client.get(url, follow_redirects=True)
assert response.request.path == url_for("auth.show_signup_form", _external=False)
assert response.request.path == url_for("public.index", _external=False)

user = UserRepository().get_by_email(user.email)
assert user.active is True

0 comments on commit ed90b98

Please sign in to comment.