From 0904fea1090f0794ed20cccac4eaeb7762e33a65 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 21 Feb 2021 20:47:23 +0100 Subject: [PATCH] flows: fix migration for e2e tests --- authentik/flows/migrations/0008_default_flows.py | 1 - tests/e2e/utils.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/authentik/flows/migrations/0008_default_flows.py b/authentik/flows/migrations/0008_default_flows.py index 9d5738eb0..6bb0a0feb 100644 --- a/authentik/flows/migrations/0008_default_flows.py +++ b/authentik/flows/migrations/0008_default_flows.py @@ -26,7 +26,6 @@ def create_default_authentication_flow( name="default-authentication-identification", defaults={ "user_fields": [UserFields.E_MAIL, UserFields.USERNAME], - "template": "", }, ) diff --git a/tests/e2e/utils.py b/tests/e2e/utils.py index a9bcfa822..e42fde3bd 100644 --- a/tests/e2e/utils.py +++ b/tests/e2e/utils.py @@ -153,7 +153,7 @@ class SeleniumTestCase(StaticLiveServerTestCase): ObjectManager().run() -def retry(max_retires=1, exceptions=None): +def retry(max_retires=3, exceptions=None): """Retry test multiple times. Default to catching Selenium Timeout Exception""" if not exceptions: