mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
fix tests
This commit is contained in:
committed by
GitHub
parent
1e3cdc99ac
commit
2a2e8136cd
@@ -702,7 +702,7 @@ describe('User', function () {
|
||||
assert.ifError(err);
|
||||
db.getSortedSetRevRange('user:' + uid + ':usernames', 0, -1, function (err, data) {
|
||||
assert.ifError(err);
|
||||
assert.equal(data.length, 1);
|
||||
assert.equal(data.length, 2);
|
||||
assert(data[0].startsWith('updatedAgain'));
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user