Skip to content

Commit 9d229d9

Browse files
committed
chore: include dummy auth header for git clone test
1 parent cb29feb commit 9d229d9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

test/testClearBareClone.test.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,17 @@ describe('clear bare and local clones', async () => {
1212
it('pull remote generates a local .remote folder', async () => {
1313
const action = new Action('123', 'type', 'get', timestamp, 'finos/git-proxy');
1414
action.url = 'https://github.com/finos/git-proxy';
15-
await pullRemote({}, action);
15+
16+
const authorization = `Basic ${Buffer.from('JamieSlome:test').toString('base64')}`;
17+
18+
await pullRemote(
19+
{
20+
headers: {
21+
authorization,
22+
},
23+
},
24+
action,
25+
);
1626

1727
expect(fs.existsSync(`./.remote/${timestamp}`)).to.be.true;
1828
});

0 commit comments

Comments
 (0)