Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions core/framework/credentials/aden/tests/test_aden_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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."""
Expand Down
Loading