Browse Source

language: update ciao tests to assert warnings produced for invalid inputs

pull/819/head
Peter Johnson 8 years ago
parent
commit
af4b107612
  1. 2
      test/ciao/autocomplete/language_header_invalid.coffee
  2. 2
      test/ciao/autocomplete/language_querystring_invalid.coffee
  3. 2
      test/ciao/place/language_header_invalid.coffee
  4. 2
      test/ciao/place/language_querystring_invalid.coffee
  5. 2
      test/ciao/reverse/language_header_invalid.coffee
  6. 2
      test/ciao/reverse/language_querystring_invalid.coffee
  7. 2
      test/ciao/search/language_header_invalid.coffee
  8. 2
      test/ciao/search/language_querystring_invalid.coffee

2
test/ciao/autocomplete/language_header_invalid.coffee

@ -27,7 +27,7 @@ json.features.should.be.instanceof Array
should.not.exist json.geocoding.errors
#? expected warnings
should.not.exist json.geocoding.warnings
json.geocoding.warnings.should.eql [ 'invalid language provided via header' ]
#? language
json.geocoding.query['lang'].should.eql {

2
test/ciao/autocomplete/language_querystring_invalid.coffee

@ -26,7 +26,7 @@ json.features.should.be.instanceof Array
should.not.exist json.geocoding.errors
#? expected warnings
should.not.exist json.geocoding.warnings
json.geocoding.warnings.should.eql [ 'invalid language provided via querystring' ]
#? language
json.geocoding.query['lang'].should.eql {

2
test/ciao/place/language_header_invalid.coffee

@ -27,7 +27,7 @@ json.features.should.be.instanceof Array
should.not.exist json.geocoding.errors
#? expected warnings
should.not.exist json.geocoding.warnings
json.geocoding.warnings.should.eql [ 'invalid language provided via header' ]
#? language
json.geocoding.query['lang'].should.eql {

2
test/ciao/place/language_querystring_invalid.coffee

@ -26,7 +26,7 @@ json.features.should.be.instanceof Array
should.not.exist json.geocoding.errors
#? expected warnings
should.not.exist json.geocoding.warnings
json.geocoding.warnings.should.eql [ 'invalid language provided via querystring' ]
#? language
json.geocoding.query['lang'].should.eql {

2
test/ciao/reverse/language_header_invalid.coffee

@ -27,7 +27,7 @@ json.features.should.be.instanceof Array
should.not.exist json.geocoding.errors
#? expected warnings
should.not.exist json.geocoding.warnings
json.geocoding.warnings.should.eql [ 'invalid language provided via header' ]
#? language
json.geocoding.query['lang'].should.eql {

2
test/ciao/reverse/language_querystring_invalid.coffee

@ -26,7 +26,7 @@ json.features.should.be.instanceof Array
should.not.exist json.geocoding.errors
#? expected warnings
should.not.exist json.geocoding.warnings
json.geocoding.warnings.should.eql [ 'invalid language provided via querystring' ]
#? language
json.geocoding.query['lang'].should.eql {

2
test/ciao/search/language_header_invalid.coffee

@ -27,7 +27,7 @@ json.features.should.be.instanceof Array
should.not.exist json.geocoding.errors
#? expected warnings
should.not.exist json.geocoding.warnings
json.geocoding.warnings.should.eql [ 'invalid language provided via header' ]
#? language
json.geocoding.query['lang'].should.eql {

2
test/ciao/search/language_querystring_invalid.coffee

@ -26,7 +26,7 @@ json.features.should.be.instanceof Array
should.not.exist json.geocoding.errors
#? expected warnings
should.not.exist json.geocoding.warnings
json.geocoding.warnings.should.eql [ 'invalid language provided via querystring' ]
#? language
json.geocoding.query['lang'].should.eql {

Loading…
Cancel
Save