|
|
@ -51,7 +51,7 @@ module.exports.tests.base_query = (test, common) => { |
|
|
|
|
|
|
|
|
|
|
|
const generatedQuery = generateQuery(clean, res); |
|
|
|
const generatedQuery = generateQuery(clean, res); |
|
|
|
|
|
|
|
|
|
|
|
t.equals(generatedQuery.type, 'original'); |
|
|
|
t.equals(generatedQuery.type, 'fallback'); |
|
|
|
|
|
|
|
|
|
|
|
t.equals(generatedQuery.body.vs.var('input:housenumber').toString(), 'housenumber value'); |
|
|
|
t.equals(generatedQuery.body.vs.var('input:housenumber').toString(), 'housenumber value'); |
|
|
|
t.equals(generatedQuery.body.vs.var('input:street').toString(), 'street value'); |
|
|
|
t.equals(generatedQuery.body.vs.var('input:street').toString(), 'street value'); |
|
|
|