diff --git a/core/framework/credentials/aden/tests/test_aden_sync.py b/core/framework/credentials/aden/tests/test_aden_sync.py index 25abceca1c..87fd1b70d0 100644 --- a/core/framework/credentials/aden/tests/test_aden_sync.py +++ b/core/framework/credentials/aden/tests/test_aden_sync.py @@ -391,9 +391,10 @@ def test_fetch_from_aden_not_found(self, provider, mock_client): def test_sync_all(self, provider, mock_client, aden_response): """Test syncing all credentials.""" + active_id = aden_response.integration_id mock_client.list_integrations.return_value = [ AdenIntegrationInfo( - integration_id="aHVic3BvdDp0ZXN0OjEzNjExOjExNTI1", + integration_id=active_id, provider="hubspot", alias="My HubSpot", status="active", @@ -411,7 +412,7 @@ def test_sync_all(self, provider, mock_client, aden_response): synced = provider.sync_all(store) assert synced == 1 # Only active one was synced - assert store.get_credential("aHVic3BvdDp0ZXN0OjEzNjExOjExNTI1") is not None + assert store.get_credential(active_id) is not None def test_validate_via_aden(self, provider, mock_client): """Test validation via Aden introspection."""