Skip to content

Commit

Permalink
chore: drop usage of gh_token
Browse files Browse the repository at this point in the history
  • Loading branch information
lili2311 committed Apr 12, 2023
1 parent d0ce1cd commit 8be4ff4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/system/orgs:data/generic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('General `snyk-api-import orgs:data <...>`', () => {
{
env: {
PATH: process.env.PATH,
GITHUB_TOKEN: process.env.GH_TOKEN,
GITHUB_TOKEN: process.env.GITHUB_TOKEN,
SNYK_LOG_PATH: __dirname,
},
},
Expand Down
4 changes: 2 additions & 2 deletions test/system/orgs:data/github.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('General `snyk-api-import orgs:data <...>`', () => {
{
env: {
PATH: process.env.PATH,
GITHUB_TOKEN: process.env.GH_TOKEN,
GITHUB_TOKEN: process.env.GITHUB_TOKEN,
SNYK_LOG_PATH: __dirname,
},
},
Expand All @@ -26,7 +26,7 @@ describe('General `snyk-api-import orgs:data <...>`', () => {
expect(stderr).toEqual('');
expect(err).toBeNull();
expect(stdout).toMatch(
'Found 4 organization(s). Written the data to file: group-hello-github-com-orgs.json',
'Found 2 organization(s). Written the data to file: group-hello-github-com-orgs.json',
);
deleteFiles([
path.resolve(__dirname, `group-${groupId}-github-com-orgs.json`),
Expand Down

0 comments on commit 8be4ff4

Please sign in to comment.