mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-14 20:16:48 -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 <noreply@anthropic.com>
This commit is contained in:
@@ -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