Skip to content

Commit

Permalink
Merge pull request #140 from onfido/test/maintenance
Browse files Browse the repository at this point in the history
test: fix workflow-runs test
  • Loading branch information
sofia-gomes-onfido authored Jul 25, 2024
2 parents 1d2df9e + 391ff78 commit 7e605ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/resources/workflow-runs-outputs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion test/resources/workflow-runs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ it("creates a workflow run with custom inputs", async () => {
);

expect(workflowRunWithCustomInputs.data).toEqual(
getExpectedWorkflowRun(exampleWorkflowRun, { sdk_token: null })
getExpectedWorkflowRun(exampleWorkflowRun)
);
});

Expand Down

0 comments on commit 7e605ef

Please sign in to comment.