mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 07:40:43 +01:00
increase timeout for password test
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user