Skip to content

Commit

Permalink
fix [dub] service test (#1729)
Browse files Browse the repository at this point in the history
The version we were testing against
seems to have gone away - spooky 👻
https://code.dlang.org/api/packages/vibe-d/0.7.23/stats

Switch to a version that exists:
https://code.dlang.org/api/packages/vibe-d/0.7.27/stats
  • Loading branch information
chris48s authored Jun 10, 2018
1 parent e8980f7 commit 67eb92e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/dub/dub.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ t.create('total downloads (valid)')
}));

t.create('total downloads, specific version (valid)')
.get('/dt/vibe-d/0.7.23.json?style=_shields_test')
.get('/dt/vibe-d/0.7.27.json?style=_shields_test')
.expectJSONTypes(Joi.object().keys({
name: 'downloads',
value: Joi.string().regex(/^[1-9][0-9]*[kMGTPEZY]? v0.7.23$/),
value: Joi.string().regex(/^[1-9][0-9]*[kMGTPEZY]? v0.7.27$/),
colorB: isVersionColor
}))
.timeout(15000);
Expand Down

0 comments on commit 67eb92e

Please sign in to comment.