From 391ff78113ddc0f545334ee15e820ef4a1583b9b Mon Sep 17 00:00:00 2001 From: Sofia Gomes Date: Thu, 25 Jul 2024 10:46:15 +0100 Subject: [PATCH] test: fix sdk_token value --- test/resources/workflow-runs-outputs.test.ts | 2 +- test/resources/workflow-runs.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/resources/workflow-runs-outputs.test.ts b/test/resources/workflow-runs-outputs.test.ts index 10bc02e..767e335 100644 --- a/test/resources/workflow-runs-outputs.test.ts +++ b/test/resources/workflow-runs-outputs.test.ts @@ -33,7 +33,7 @@ function getExpectedWorkflowRun( status: expect.anything(), output: expect.anything(), reasons: expect.anything(), - sdk_token: null, + sdk_token: expect.anything(), error: null, link: expect.anything(), created_at: expect.anything(), diff --git a/test/resources/workflow-runs.test.ts b/test/resources/workflow-runs.test.ts index 5a643a5..10a308c 100644 --- a/test/resources/workflow-runs.test.ts +++ b/test/resources/workflow-runs.test.ts @@ -72,7 +72,7 @@ it("creates a workflow run with custom inputs", async () => { ); expect(workflowRunWithCustomInputs.data).toEqual( - getExpectedWorkflowRun(exampleWorkflowRun, { sdk_token: null }) + getExpectedWorkflowRun(exampleWorkflowRun) ); });