Fix [GitlabCoverage] self-hosted test and example (#7548)

This commit is contained in:
Pierre-Yves Bigourdan
2022-01-29 21:07:18 +00:00
committed by GitHub
parent f2d88e76fb
commit 530e1b5fe4
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ export default class GitlabCoverage extends BaseSvgScrapingService {
},
{
title: 'Gitlab code coverage (self-hosted)',
namedParams: { user: 'GNOME', repo: 'libhandy', branch: 'master' },
namedParams: { user: 'GNOME', repo: 'at-spi2-core', branch: 'master' },
queryParams: { gitlab_url: 'https://gitlab.gnome.org' },
staticPreview: this.render({ coverage: 93 }),
documentation,

View File

@@ -47,7 +47,7 @@ t.create('Coverage (custom invalid job)')
})
t.create('Coverage (custom gitlab URL)')
.get('/GNOME/libhandy/master.json?gitlab_url=https://gitlab.gnome.org')
.get('/GNOME/at-spi2-core/master.json?gitlab_url=https://gitlab.gnome.org')
.expectBadge({
label: 'coverage',
message: isIntegerPercentage,