multiple test fixes

This commit is contained in:
barisusakli
2016-11-23 17:15:31 +03:00
parent 7e6e5f771c
commit 5d6e2ad083
13 changed files with 90 additions and 41 deletions

View File

@@ -51,6 +51,9 @@ module.exports = function (redisClient, module) {
module.sortedSetRemove = function (key, value, callback) {
callback = callback || function () {};
if (!value) {
return callback();
}
if (!Array.isArray(value)) {
value = [value];
}