0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

fix test broken in 79e2ff2ee

This commit is contained in:
Alex Kocharin 2015-02-12 14:28:19 +03:00
parent 0aed9ee9f4
commit 04a9f14b3c

View file

@ -27,7 +27,7 @@ module.exports = function() {
it('should not register more users', function(cb) {
server.auth(String(Math.random()), String(Math.random()), function(res, body) {
assert.equal(res.statusCode, 403)
assert.equal(res.statusCode, 409)
assert(body.error.match(/maximum amount of users reached/))
cb()
})