fix tests

v1.18.x
Barış Soner Uşaklı 7 years ago committed by GitHub
parent 1e3cdc99ac
commit 2a2e8136cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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();
});

Loading…
Cancel
Save