Commit 16bedbd9 authored by Vincent Bechu's avatar Vincent Bechu

[querystorage] Adapt test sub_storage handle all capacity

parent bbf280f1
......@@ -400,7 +400,8 @@
(capacity === "sort") ||
(capacity === "select") ||
(capacity === "limit") ||
(capacity === "query")) {
(capacity === "query") ||
(capacity === "schema")) {
return true;
}
throw new Error("Unexpected " + capacity + " capacity check");
......@@ -410,7 +411,8 @@
sort_on: [["title", "ascending"]],
limit: [5],
select_list: ["title", "id"],
query: 'title: "two"'
query: 'title: "two"',
schema: {'title': 'string'}
},
"buildQuery called");
return "taboulet";
......@@ -429,7 +431,8 @@
sort_on: [["title", "ascending"]],
limit: [5],
select_list: ["title", "id"],
query: 'title: "two"'
query: 'title: "two"',
schema: {'title': 'string'}
})
.then(function (result) {
deepEqual(result, {
......
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