Skip to content

Commit

Permalink
Merge pull request #2354 from snyk/test/add-github-cr-test
Browse files Browse the repository at this point in the history
test: add acceptance test for github cr [CFG-1105]
  • Loading branch information
teodora-sandu authored Nov 11, 2021
2 parents 4b8521a + e0441c8 commit b826c53
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/jest/acceptance/iac/custom-rules.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ describe('custom rules pull from a remote OCI registry', () => {
'AWS',
getOciElasticRegistryPassword(),
],
[
'GitHub',
process.env.OCI_GITHUB_REGISTRY_URL,
process.env.OCI_GITHUB_REGISTRY_USERNAME,
process.env.OCI_GITHUB_REGISTRY_PASSWORD,
],
];
test.each(cases)(
'given %p as a registry and correct credentials, it returns a success exit code',
Expand Down

0 comments on commit b826c53

Please sign in to comment.