From d35c5b0d45c2389911e8fa57f5a409dc7eb4eba9 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Wed, 18 Mar 2020 23:33:26 -0400 Subject: use token for workflow repo --- __test__/git-auth-helper.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '__test__/git-auth-helper.test.ts') diff --git a/__test__/git-auth-helper.test.ts b/__test__/git-auth-helper.test.ts index 1d5c3d5..026be7c 100644 --- a/__test__/git-auth-helper.test.ts +++ b/__test__/git-auth-helper.test.ts @@ -725,6 +725,7 @@ async function setup(testName: string): Promise { setEnvironmentVariable: jest.fn((name: string, value: string) => { git.env[name] = value }), + setRemoteUrl: jest.fn(), submoduleForeach: jest.fn(async () => { return '' }), @@ -748,7 +749,7 @@ async function setup(testName: string): Promise { } ), tryDisableAutomaticGarbageCollection: jest.fn(), - tryGetFetchUrl: jest.fn(), + tryGetRemoteUrl: jest.fn(), tryReset: jest.fn() } @@ -757,6 +758,7 @@ async function setup(testName: string): Promise { clean: true, commit: '', fetchDepth: 1, + isWorkflowRepository: true, lfs: false, submodules: false, nestedSubmodules: false, -- cgit v1.2.3