Commit 5d29dacc authored by Tristan Cavelier's avatar Tristan Cavelier

gidstorage alldocs with complex query test, wrong response expected -> fixed

parent d95ddd37
...@@ -8133,13 +8133,13 @@ test("AllDocs", function () { ...@@ -8133,13 +8133,13 @@ test("AllDocs", function () {
o.spy(o, 'value', { o.spy(o, 'value', {
"rows": [{ "rows": [{
"id": "{\"creator\":[\"s\",\"d\"]}", "id": "{\"creator\":[\"s\",\"d\"]}",
"value": {} "value": {"creator": ["s", "d"]}
}], }],
"total_rows": 1 "total_rows": 1
}, 'Get all docs'); }, 'Get all docs with complex query');
o.jio.allDocs({ o.jio.allDocs({
"query": 'creator: "d"', "query": 'creator: "d"',
"select": ["creator"], "select_list": ["creator"],
"limit": [1, 1], "limit": [1, 1],
"sort_on": [["creator", "ascending"]] "sort_on": [["creator", "ascending"]]
}, o.f); }, o.f);
......
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