mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 15:42:52 +01:00
add test for user settings cache issue
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user