Skip to content
Snippets Groups Projects
Unverified Commit 96a93a61 authored by chris48s's avatar chris48s Committed by GitHub
Browse files

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

parent 00fe8b49
Branches
Tags
No related merge requests found
......@@ -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 }),
},
]
......
......@@ -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({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment