removed optional params

This commit is contained in:
barisusakli
2014-07-24 23:33:33 -04:00
parent c7de38f28e
commit 3829019bfa
4 changed files with 2 additions and 29 deletions

View File

@@ -325,13 +325,13 @@ describe('Test database', function() {
}
function getSortedSetUnion(callback) {
db.getSortedSetUnion(['users:joindate', 'users:derp', 'users:postcount'], function(err, data) {
db.getSortedSetUnion(['users:joindate', 'users:derp', 'users:postcount'], 0, -1, function(err, data) {
callback(err, {'sortedSetUnion': data});
});
}
function getSortedSetRevUnion(callback) {
db.getSortedSetUnion(['users:joindate', 'users:derp', 'users:postcount'], function(err, data) {
db.getSortedSetRevUnion(['users:joindate', 'users:derp', 'users:postcount'], 0, -1, function(err, data) {
callback(err, {'sortedSetUnion': data});
});
}