add test for user settings cache issue

v1.18.x
Barış Soner Uşaklı 8 years ago
parent db532fbb0d
commit 36a2ac0ebd

@ -945,7 +945,11 @@ describe('User', function () {
};
socketUser.saveSettings({ uid: testUid }, data, function (err) {
assert.ifError(err);
done();
User.getSettings(testUid, function (err, data) {
assert.ifError(err);
assert.equal(data.usePagination, true);
done();
});
});
});

Loading…
Cancel
Save