From b783a88e0e9f54613719282cc33b5fd57f63f7be Mon Sep 17 00:00:00 2001 From: David Michaels Date: Tue, 18 Jun 2024 13:01:05 -0400 Subject: [PATCH] Fix call to RedisSessionToken creation to pass email. --- tests/test_react_auth_defs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_react_auth_defs.py b/tests/test_react_auth_defs.py index f585c64ca..34e481322 100644 --- a/tests/test_react_auth_defs.py +++ b/tests/test_react_auth_defs.py @@ -83,7 +83,8 @@ def create_test_authtoken(expires_or_expired_at: int = EXPIRES_AT, use_invalid_a jwt = create_test_jwt(use_invalid_auth0_secret) os.environ["ENV_NAME"] = DEFAULT_ENV auth = Auth(AUTH0_CLIENT_ID, AUTH0_SECRET_INVALID if use_invalid_auth0_secret else AUTH0_SECRET, ENVS) - authtoken = auth.create_authtoken(jwt, expires_or_expired_at, DOMAIN) + authtoken, email = auth.create_authtoken(jwt, expires_or_expired_at, DOMAIN) + assert email == EMAIL return authtoken