From ecda07a520fb78864160f3377614b2fa135a87eb Mon Sep 17 00:00:00 2001 From: Harish Krishna Date: Wed, 1 Oct 2014 10:46:59 -0400 Subject: [PATCH] fixing valid query test --- test/unit/query/suggest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/query/suggest.js b/test/unit/query/suggest.js index bb747c11..b8c3330f 100644 --- a/test/unit/query/suggest.js +++ b/test/unit/query/suggest.js @@ -14,7 +14,7 @@ module.exports.tests.query = function(test, common) { test('valid query', function(t) { var query = generate({ input: 'test', size: 10, - lat: 0, lon: 0, + lat: 0, lon: 0, zoom:1, layers: ['test'] }); var expected = { @@ -26,7 +26,7 @@ module.exports.tests.query = function(test, common) { context: { dataset: [ 'test' ], location: { - precision: 2, + precision: 1, value: [ 0, 0 ] } }