Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Oct 3, 2024
1 parent bb56f1e commit fc8927b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/auth-react/django3x/polls/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,14 @@ def test_get_totp_code(request: HttpRequest):
def before_each(request: HttpRequest):
import mysite.store

mysite.store.contact_method = "EMAIL_OR_PHONE"
mysite.store.flow_type = "USER_INPUT_CODE_AND_MAGIC_LINK"
mysite.store.latest_url_with_token = ""
mysite.store.code_store = dict()
mysite.store.accountlinking_config = {}
mysite.store.enabled_providers = None
mysite.store.enabled_recipes = None
mysite.store.mfa_info = {}
custom_init()
return HttpResponse("")

Expand Down

0 comments on commit fc8927b

Please sign in to comment.