From 6857261ac2dd186015d9c7d0c61a6620dd17ca77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Tue, 19 Mar 2024 11:28:18 -0600 Subject: [PATCH 1/2] test: Test with 2024-02-15 version of the API --- .github/workflows/ci_workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_workflow.yml b/.github/workflows/ci_workflow.yml index cbef2d6..5462eb1 100644 --- a/.github/workflows/ci_workflow.yml +++ b/.github/workflows/ci_workflow.yml @@ -32,6 +32,6 @@ jobs: - name: Test with pytest env: TAP_KLAVIYO_AUTH_TOKEN: ${{ secrets.TAP_KLAVIYO_AUTH_TOKEN }} - TAP_KLAVIYO_REVISION: ${{ secrets.TAP_KLAVIYO_REVISION }} + TAP_KLAVIYO_REVISION: "2023-10-15" run: | poetry run pytest From a656b31ca7938a1bcfb93ecb3422e2da3b52c99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Tue, 19 Mar 2024 11:31:13 -0600 Subject: [PATCH 2/2] Use `"2024-02-15` --- .github/workflows/ci_workflow.yml | 1 - tests/test_core.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_workflow.yml b/.github/workflows/ci_workflow.yml index 5462eb1..0f050ed 100644 --- a/.github/workflows/ci_workflow.yml +++ b/.github/workflows/ci_workflow.yml @@ -32,6 +32,5 @@ jobs: - name: Test with pytest env: TAP_KLAVIYO_AUTH_TOKEN: ${{ secrets.TAP_KLAVIYO_AUTH_TOKEN }} - TAP_KLAVIYO_REVISION: "2023-10-15" run: | poetry run pytest diff --git a/tests/test_core.py b/tests/test_core.py index cd7bb1c..ddaf256 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -7,6 +7,7 @@ from tap_klaviyo.tap import TapKlaviyo SAMPLE_CONFIG = { + "revision": "2024-02-15", "start_date": datetime.datetime.now(datetime.timezone.utc).strftime("%Y-%m-%d"), }