diff --git a/airbyte-integrations/connectors/source-freshdesk/acceptance-test-config.yml b/airbyte-integrations/connectors/source-freshdesk/acceptance-test-config.yml index 4e207199f20f..29f76d50a3bb 100644 --- a/airbyte-integrations/connectors/source-freshdesk/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-freshdesk/acceptance-test-config.yml @@ -41,7 +41,7 @@ acceptance_tests: incremental: tests: - config_path: "secrets/config.json" - configured_catalog_path: "integration_tests/configured_catalog.json" + configured_catalog_path: "integration_tests/incremental_catalog.json" future_state: future_state_path: "integration_tests/abnormal_state.json" full_refresh: diff --git a/airbyte-integrations/connectors/source-freshdesk/integration_tests/abnormal_state.json b/airbyte-integrations/connectors/source-freshdesk/integration_tests/abnormal_state.json index fd35724d0aff..d4ce1068f1ea 100644 --- a/airbyte-integrations/connectors/source-freshdesk/integration_tests/abnormal_state.json +++ b/airbyte-integrations/connectors/source-freshdesk/integration_tests/abnormal_state.json @@ -1,26 +1,4 @@ [ - { - "type": "STREAM", - "stream": { - "stream_state": { - "updated_at": "2121-11-01T00:00:00Z" - }, - "stream_descriptor": { - "name": "agents" - } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "updated_at": "2121-11-01T00:00:00Z" - }, - "stream_descriptor": { - "name": "companies" - } - } - }, { "type": "STREAM", "stream": { @@ -32,39 +10,6 @@ } } }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "updated_at": "2121-11-01T00:00:00Z" - }, - "stream_descriptor": { - "name": "conversations" - } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "updated_at": "2121-11-01T00:00:00Z" - }, - "stream_descriptor": { - "name": "groups" - } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "updated_at": "2121-11-01T00:00:00Z" - }, - "stream_descriptor": { - "name": "roles" - } - } - }, { "type": "STREAM", "stream": { @@ -76,28 +21,6 @@ } } }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "updated_at": "2121-11-01T00:00:00Z" - }, - "stream_descriptor": { - "name": "skills" - } - } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "updated_at": "2121-11-01T00:00:00Z" - }, - "stream_descriptor": { - "name": "surveys" - } - } - }, { "type": "STREAM", "stream": { @@ -108,16 +31,5 @@ "name": "tickets" } } - }, - { - "type": "STREAM", - "stream": { - "stream_state": { - "updated_at": "2121-11-01T00:00:00Z" - }, - "stream_descriptor": { - "name": "time_entries" - } - } } ] diff --git a/airbyte-integrations/connectors/source-freshdesk/integration_tests/expected_records.txt b/airbyte-integrations/connectors/source-freshdesk/integration_tests/expected_records.txt index afe7aad35dd8..d09c053ae952 100644 --- a/airbyte-integrations/connectors/source-freshdesk/integration_tests/expected_records.txt +++ b/airbyte-integrations/connectors/source-freshdesk/integration_tests/expected_records.txt @@ -1,5 +1,5 @@ {"stream": "agents", "data": {"available": false, "occasional": true, "id": 67013469930, "ticket_scope": 1, "created_at": "2020-10-22T02:37:15Z", "updated_at": "2020-10-22T02:37:15Z", "last_active_at": null, "available_since": null, "type": "support_agent", "contact": {"active": false, "email": "custserv@freshdesk.com", "job_title": null, "language": "en", "last_login_at": null, "mobile": null, "name": "Customer Service", "phone": null, "time_zone": "Magadan", "created_at": "2020-10-22T02:37:15Z", "updated_at": "2020-10-22T02:37:15Z"}, "signature": null}, "emitted_at": 1668611230080} -{"stream": "agents", "data": {"available": false, "occasional": false, "id": 67013469919, "ticket_scope": 1, "created_at": "2020-10-22T02:37:13Z", "updated_at": "2022-08-29T06:56:57Z", "last_active_at": "2022-08-29T06:56:57Z", "available_since": null, "type": "support_agent", "contact": {"active": true, "email": "integration-test@airbyte.io", "job_title": null, "language": "en", "last_login_at": "2022-08-04T12:16:22Z", "mobile": null, "name": "Team Airbyte", "phone": null, "time_zone": "Magadan", "created_at": "2020-10-22T02:37:13Z", "updated_at": "2020-10-22T03:30:13Z"}, "signature": null}, "emitted_at": 1668611230082} +{"stream": "agents", "data": {"available": false, "occasional": false, "id": 67013469919, "ticket_scope": 1, "created_at": "2020-10-22T02:37:13Z", "updated_at": "2022-11-16T15:27:33Z", "last_active_at": "2022-11-16T15:27:33Z", "available_since": null, "type": "support_agent", "contact": {"active": true, "email": "integration-test@airbyte.io", "job_title": null, "language": "en", "last_login_at": "2022-08-29T06:56:57Z", "mobile": null, "name": "Team Airbyte", "phone": null, "time_zone": "Magadan", "created_at": "2020-10-22T02:37:13Z", "updated_at": "2020-10-22T03:30:13Z"}, "signature": null}, "emitted_at": 1668611230082} {"stream": "agents", "data": {"available": false, "occasional": true, "id": 67021120644, "ticket_scope": 1, "created_at": "2021-02-11T22:20:50Z", "updated_at": "2021-12-01T00:09:07Z", "last_active_at": null, "available_since": null, "type": "support_agent", "contact": {"active": false, "email": "test_agent_1@test.com", "job_title": null, "language": "en", "last_login_at": null, "mobile": null, "name": "Test Agent 1", "phone": null, "time_zone": "Magadan", "created_at": "2021-02-11T22:20:50Z", "updated_at": "2021-02-11T22:20:50Z"}, "signature": "