diff options
| author | eric sciple <ericsciple@users.noreply.github.com> | 2020-03-18 23:33:26 -0400 |
|---|---|---|
| committer | eric sciple <ericsciple@users.noreply.github.com> | 2020-03-18 23:33:26 -0400 |
| commit | d35c5b0d45c2389911e8fa57f5a409dc7eb4eba9 (patch) | |
| tree | 9504842130011e5303867f926b8e6016a715323e /__test__/git-auth-helper.test.ts | |
| parent | 6f1b729011b34bc28608462b6293df85180aba9c (diff) | |
use token for workflow repo
Diffstat (limited to '__test__/git-auth-helper.test.ts')
| -rw-r--r-- | __test__/git-auth-helper.test.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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<void> { 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<void> { } ), tryDisableAutomaticGarbageCollection: jest.fn(), - tryGetFetchUrl: jest.fn(), + tryGetRemoteUrl: jest.fn(), tryReset: jest.fn() } @@ -757,6 +758,7 @@ async function setup(testName: string): Promise<void> { clean: true, commit: '', fetchDepth: 1, + isWorkflowRepository: true, lfs: false, submodules: false, nestedSubmodules: false, |
