Node.js based forum software built for the modern web
fix lint and tests
Baris Usakli546b13b897f7
diff --git a/src/socket.io/user/profile.js b/src/socket.io/user/profile.jsindex 14c4d5fbea..857ac4ddf8 100644--- a/src/socket.io/user/profile.js+++ b/src/socket.io/user/profile.js@@ -215,7 +215,7 @@ module.exports = function (SocketUser) {},is: function (next) {user.blocks.is(data.blockeeUid, data.blockerUid, next);- }+ },}, next);},function (results, next) {diff --git a/test/user.js b/test/user.jsindex 96b47921c6..c0d7cb9e18 100644--- a/test/user.js+++ b/test/user.js@@ -677,7 +677,7 @@ describe('User', function () {assert.ifError(err);socketUser.changePassword({ uid: uid }, { uid: uid, newPassword: '654321', currentPassword: '123456' }, function (err) {assert.ifError(err);- User.isPasswordCorrect(uid, '654321', function (err, correct) {+ User.isPasswordCorrect(uid, '654321', '127.0.0.1', function (err, correct) {assert.ifError(err);assert(correct);done();