Commit 2129be4e authored by Tristan Cavelier's avatar Tristan Cavelier

revisionstorage remove{,Attachment} tests done

parent 4fb5516e
...@@ -867,11 +867,11 @@ ...@@ -867,11 +867,11 @@
"revision_needed": true, "revision_needed": true,
"remove": true "remove": true
}, },
function (err) { function (err, response) {
if (err) { if (err) {
return command.error(err); return command.error(err);
} }
command.success(); command.success({"rev": response.rev});
} }
); );
}; };
...@@ -890,11 +890,11 @@ ...@@ -890,11 +890,11 @@
"_attachment": param._attachment "_attachment": param._attachment
} }
}, },
function (err) { function (err, response) {
if (err) { if (err) {
return command.error(err); return command.error(err);
} }
command.success(); command.success({"rev": response.rev});
} }
); );
}; };
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment