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

@@ -5,7 +5,7 @@ module.exports = function (db, module) {
module.setObject = function (key, data, callback) {
callback = callback || helpers.noop;
if (!key) {
if (!key || !data) {
return callback();
}