Skip to content
Snippets Groups Projects
Unverified Commit 244f40fb authored by Wade Ying Xing's avatar Wade Ying Xing Committed by GitHub
Browse files

test(gitlab): improve test case (#18393)

parent 65606c5c
No related branches found
No related tags found
No related merge requests found
......@@ -43,14 +43,14 @@ describe('config/presets/gitlab/index', () => {
.get(`${basePath}/branches`)
.reply(200, [
{
name: 'devel',
name: 'main',
default: true,
},
{
name: 'master',
default: true,
},
])
.get(`${basePath}/files/default.json/raw?ref=master`)
.get(`${basePath}/files/default.json/raw?ref=main`)
.reply(200, { foo: 'bar' }, {});
const content = await gitlab.getPreset({ repo: 'some/repo' });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment