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:
parent
0aed9ee9f4
commit
04a9f14b3c
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ module.exports = function() {
|
||||||
|
|
||||||
it('should not register more users', function(cb) {
|
it('should not register more users', function(cb) {
|
||||||
server.auth(String(Math.random()), String(Math.random()), function(res, body) {
|
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/))
|
assert(body.error.match(/maximum amount of users reached/))
|
||||||
cb()
|
cb()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue