mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-09-30 04:27:07 -07:00
fix(test): add gitAuthMode to orchestrator-folders test mock
The test mock was missing gitAuthMode, causing useHeaderAuth to default to true and strip the token from repo URLs. Adding gitAuthMode: 'url' restores the expected URL-mode behavior. Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
222665a9ec
commit
e2a778dc80
@@ -11,6 +11,7 @@ jest.mock('../orchestrator', () => ({
|
|||||||
buildPath: 'Builds',
|
buildPath: 'Builds',
|
||||||
maxRetainedWorkspaces: 0,
|
maxRetainedWorkspaces: 0,
|
||||||
gitPrivateToken: 'ghp_test123',
|
gitPrivateToken: 'ghp_test123',
|
||||||
|
gitAuthMode: 'url',
|
||||||
orchestratorRepoName: 'game-ci/unity-builder',
|
orchestratorRepoName: 'game-ci/unity-builder',
|
||||||
githubRepo: 'user/my-game',
|
githubRepo: 'user/my-game',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user