diff --git a/__tests__/updater-integration.test.ts b/__tests__/updater-integration.test.ts index d8a86ad..5022c41 100644 --- a/__tests__/updater-integration.test.ts +++ b/__tests__/updater-integration.test.ts @@ -23,8 +23,8 @@ describe('Updater', () => { getCredentials: jest.fn(), params: { jobID: 1, - jobToken: 'xxx', - credentialsToken: 'yyy', + jobToken: process.env.JOB_TOKEN, + credentialsToken: process.env.CREDENTIALS_TOKEN, dependabotAPIURL: 'http://host.docker.internal:3001' } } diff --git a/__tests__/updater.test.ts b/__tests__/updater.test.ts index 519c709..28ba5c1 100644 --- a/__tests__/updater.test.ts +++ b/__tests__/updater.test.ts @@ -8,9 +8,9 @@ describe('Updater', () => { getCredentials: jest.fn(), params: { jobID: 1, - jobToken: 'xxx', - credentialsToken: 'yyy', - dependabotAPIURL: 'http://localhost' + jobToken: process.env.JOB_TOKEN, + credentialsToken: process.env.CREDENTIALS_TOKEN, + dependabotAPIURL: 'http://host.docker.internal:3001' } } const updater = new Updater(docker, mockAPIClient)