aboutsummaryrefslogtreecommitdiff
path: root/tests/playwright
diff options
context:
space:
mode:
Diffstat (limited to 'tests/playwright')
-rw-r--r--tests/playwright/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/playwright/conftest.py b/tests/playwright/conftest.py
index aefe1ee..12a0047 100644
--- a/tests/playwright/conftest.py
+++ b/tests/playwright/conftest.py
@@ -90,7 +90,7 @@ class Helper:
"""Logs the given user in by setting the auth cookie."""
if user is None:
user = self.john_doe()
- config = Config.construct(session_key=self.app_settings["session_key"])
+ config = Config.model_construct(session_key=self.app_settings["session_key"])
secret = config.derive_secret("auth-cookie")
helper = AuthTktCookieHelper(secret)
headers = helper.remember(DummyRequest(), user.authenticated_user_id())