From 04a9f14b3c7ec60ef3cd9c8168832529d52ac40a Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Thu, 12 Feb 2015 14:28:19 +0300 Subject: [PATCH] fix test broken in 79e2ff2ee --- test/functional/adduser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/adduser.js b/test/functional/adduser.js index a81f6c4fe..cafb6ed0d 100644 --- a/test/functional/adduser.js +++ b/test/functional/adduser.js @@ -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() })