Browse Source

fixing valid query test

pull/24/head
Harish Krishna 10 years ago
parent
commit
ecda07a520
  1. 4
      test/unit/query/suggest.js

4
test/unit/query/suggest.js

@ -14,7 +14,7 @@ module.exports.tests.query = function(test, common) {
test('valid query', function(t) { test('valid query', function(t) {
var query = generate({ var query = generate({
input: 'test', size: 10, input: 'test', size: 10,
lat: 0, lon: 0, lat: 0, lon: 0, zoom:1,
layers: ['test'] layers: ['test']
}); });
var expected = { var expected = {
@ -26,7 +26,7 @@ module.exports.tests.query = function(test, common) {
context: { context: {
dataset: [ 'test' ], dataset: [ 'test' ],
location: { location: {
precision: 2, precision: 1,
value: [ 0, 0 ] value: [ 0, 0 ]
} }
} }

Loading…
Cancel
Save