Skip to content

Node.js based forum software built for the modern web

increase timeout for password test

barisusaklic5d2dbb90ff2
diff --git a/test/user.js b/test/user.js
index 34e1c329be..7ac9fe8b08 100644
--- a/test/user.js
+++ b/test/user.js
@@ -370,6 +370,7 @@ describe('User', function () {
});
it('should change a user\'s password', function (done) {
+ this.timeout(20000);
io.emit('user.changePassword', {uid: uid, newPassword: '654321', currentPassword: '123456'}, function (err) {
assert.ifError(err);
User.isPasswordCorrect(uid, '654321', function (err, correct) {