Skip to content

Node.js based forum software built for the modern web

Merge branch 'master' of https://github.com/NodeBB/NodeBB

Barış Soner Uşaklı84a179f48cc1
diff --cc test/user.js
index 6ee2673906,d0a9d337e6..c756528821
--- a/test/user.js
+++ b/test/user.js
@@@ -805,8 -805,9 +805,9 @@@ describe('User', function ()
groupTitle: 'testGroup',
birthday: '01/01/1980',
signature: 'nodebb is good',
+ password: '123456',
};
- socketUser.updateProfile({ uid: uid }, data, function (err, result) {
+ socketUser.updateProfile({ uid: uid }, { ...data, password: '123456' }, function (err, result) {
assert.ifError(err);
assert.equal(result.username, 'updatedUserName');