fix [pub] points badge test and example (#8498)

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
chris48s
2022-10-08 11:29:59 +01:00
committed by GitHub
parent 00fe8b4921
commit 96a93a6146
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ export default class PubPoints extends BaseJsonService {
keywords,
documentation,
namedParams: { packageName: 'analysis_options' },
staticPreview: this.render({ grantedPoints: 120, maxPoints: 130 }),
staticPreview: this.render({ grantedPoints: 120, maxPoints: 140 }),
},
]

View File

@@ -7,7 +7,7 @@ t.create('pub points (valid)')
.get('/analysis_options.json')
.expectBadge({
label: 'points',
message: Joi.string().regex(/^\d+\/130$/),
message: Joi.string().regex(/^\d+\/140$/),
})
t.create('pub points (not found)').get('/analysisoptions.json').expectBadge({