|
|
@ -212,7 +212,7 @@ module.exports.tests.success = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -330,7 +330,7 @@ module.exports.tests.success = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -393,7 +393,7 @@ module.exports.tests.success = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -453,7 +453,7 @@ module.exports.tests.success = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -518,7 +518,7 @@ module.exports.tests.success = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -583,7 +583,7 @@ module.exports.tests.success = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -756,7 +756,7 @@ module.exports.tests.result_filtering = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -874,7 +874,7 @@ module.exports.tests.result_filtering = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1075,7 +1075,7 @@ module.exports.tests.result_filtering = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1191,7 +1191,7 @@ module.exports.tests.result_filtering = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1345,7 +1345,7 @@ module.exports.tests.result_filtering = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1480,7 +1480,7 @@ module.exports.tests.result_filtering = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1629,7 +1629,7 @@ module.exports.tests.result_filtering = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1779,7 +1779,7 @@ module.exports.tests.result_filtering = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1906,7 +1906,7 @@ module.exports.tests.lineage_errors = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1980,7 +1980,7 @@ module.exports.tests.lineage_errors = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -2053,7 +2053,7 @@ module.exports.tests.lineage_errors = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -2113,7 +2113,7 @@ module.exports.tests.geometry_errors = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -2172,7 +2172,7 @@ module.exports.tests.centroid_errors = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -2232,7 +2232,7 @@ module.exports.tests.centroid_errors = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -2302,7 +2302,7 @@ module.exports.tests.boundingbox_errors = (test, common) => { |
|
|
|
controller(req, res, () => { |
|
|
|
controller(req, res, () => { |
|
|
|
const expected_res = { |
|
|
|
const expected_res = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
query_type: 'fallback' |
|
|
|
query_type: 'search_fallback' |
|
|
|
}, |
|
|
|
}, |
|
|
|
data: [ |
|
|
|
data: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|