diff --git a/test/testClearBareClone.test.js b/test/testClearBareClone.test.js index c600610c..e420980b 100644 --- a/test/testClearBareClone.test.js +++ b/test/testClearBareClone.test.js @@ -12,7 +12,17 @@ describe('clear bare and local clones', async () => { it('pull remote generates a local .remote folder', async () => { const action = new Action('123', 'type', 'get', timestamp, 'finos/git-proxy'); action.url = 'https://github.com/finos/git-proxy'; - await pullRemote({}, action); + + const authorization = `Basic ${Buffer.from('JamieSlome:test').toString('base64')}`; + + await pullRemote( + { + headers: { + authorization, + }, + }, + action, + ); expect(fs.existsSync(`./.remote/${timestamp}`)).to.be.true; });