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):