Skip to content

Commit

Permalink
Adjust assertions and mocks to make tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGable committed Jun 12, 2024
1 parent 4649bdb commit 1ead9e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions workflow_tests/assertions/deployAssertions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ function assertDeployProductionJobExecuted(workflowResult: Step[], didExecute =
null,
'DEPLOY_PRODUCTION',
'Creating release to trigger production deploy',
[
{key: 'tag_name', value: '1.2.3'},
{key: 'body', value: 'Release body'},
],
[],
[{key: 'GITHUB_TOKEN', value: 'os_botify_api_token'}],
),
] as const;
Expand Down
2 changes: 1 addition & 1 deletion workflow_tests/mocks/deployMocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const DEPLOY_PRODUCTION__CREATE_RELEASE__STEP_MOCK = createMockStep(
'🚀 Create release to trigger production deploy 🚀',
'Creating release to trigger production deploy',
'DEPLOY_PRODUCTION',
['tag_name', 'body'],
[],
['GITHUB_TOKEN'],
);
const DEPLOY_PRODUCTION_STEP_MOCKS = [
Expand Down

0 comments on commit 1ead9e7

Please sign in to comment.