Browse Source

Fix failing Ciao tests

They were expecting certain parts of the response to not be there when
an error is returned, but that's overspecifying the result in my
opinion.
pull/403/head
Julian Simioni 9 years ago
parent
commit
435104842d
  1. 2
      test/ciao/search/layers_invalid.coffee
  2. 2
      test/ciao/search/layers_mix_invalid_valid.coffee
  3. 2
      test/ciao/search/sources_invalid.coffee

2
test/ciao/search/layers_invalid.coffee

@ -32,5 +32,3 @@ should.not.exist json.geocoding.warnings
#? inputs
json.geocoding.query['text'].should.eql 'a'
json.geocoding.query['size'].should.eql 10
should.not.exist json.geocoding.query['types']
should.not.exist json.geocoding.query['type']

2
test/ciao/search/layers_mix_invalid_valid.coffee

@ -32,5 +32,3 @@ should.not.exist json.geocoding.warnings
#? inputs
json.geocoding.query['text'].should.eql 'a'
json.geocoding.query['size'].should.eql 10
should.not.exist json.geocoding.query['types']
should.not.exist json.geocoding.query['type']

2
test/ciao/search/sources_invalid.coffee

@ -32,5 +32,3 @@ should.not.exist json.geocoding.warnings
#? inputs
json.geocoding.query['text'].should.eql 'a'
json.geocoding.query['size'].should.eql 10
should.not.exist json.geocoding.query['types']
should.not.exist json.geocoding.query['type']

Loading…
Cancel
Save