From 427f606a1a3dbd39d29304fa1c7c0c9512defe16 Mon Sep 17 00:00:00 2001 From: prijendev Date: Wed, 8 Jan 2025 16:18:29 +0530 Subject: [PATCH] Resume token chaining --- tests/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/base.py b/tests/base.py index e2b0894..6f1de86 100644 --- a/tests/base.py +++ b/tests/base.py @@ -11,7 +11,7 @@ def preserve_refresh_token(existing_conns, payload): if not existing_conns: return payload conn_with_creds = connections.fetch_existing_connection_with_creds(existing_conns[0]['id']) - # payload['properties']['refresh_token'] = conn_with_creds['credentials']['refresh_token'] + payload['properties']['refresh_token'] = conn_with_creds['credentials']['refresh_token'] return payload class XeroScenarioBase(unittest.TestCase):