From fc8927b873848ef528749cd471a3b01927c02ede Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Thu, 3 Oct 2024 17:08:04 +0530 Subject: [PATCH] fixes --- tests/auth-react/django3x/polls/views.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/auth-react/django3x/polls/views.py b/tests/auth-react/django3x/polls/views.py index c1da33fc..c531c9dd 100644 --- a/tests/auth-react/django3x/polls/views.py +++ b/tests/auth-react/django3x/polls/views.py @@ -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("")