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:
frostebite
2026-03-09 05:45:37 +00:00
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',
}, },