Skip to content

Commit

Permalink
Merge pull request #658 from pelias/master
Browse files Browse the repository at this point in the history
Merge master into staging
  • Loading branch information
orangejulius authored Sep 8, 2016
2 parents 2591a15 + ab50dd5 commit 6406a08
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion helper/type_mapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var SOURCE_MAPPING = addStandardTargetsToAliases(SOURCES, SOURCE_ALIASES);
* not going to match any records and will return no results.
*/
var LAYERS_BY_SOURCE = {
openstreetmap: [ 'address', 'venue' ],
openstreetmap: [ 'address', 'venue', 'street' ],
openaddresses: [ 'address' ],
geonames: [ 'country','macroregion', 'region', 'county','localadmin',
'locality','borough', 'neighbourhood', 'venue' ],
Expand Down
2 changes: 1 addition & 1 deletion test/ciao/autocomplete/layers_invalid.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ json.features.should.be.instanceof Array

#? expected errors
should.exist json.geocoding.errors
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,street,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]

#? expected warnings
should.not.exist json.geocoding.warnings
Expand Down
2 changes: 1 addition & 1 deletion test/ciao/autocomplete/layers_mix_invalid_valid.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ json.features.should.be.instanceof Array

#? expected errors
should.exist json.geocoding.errors
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,street,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]

#? expected warnings
should.not.exist json.geocoding.warnings
Expand Down
2 changes: 1 addition & 1 deletion test/ciao/reverse/layers_invalid.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ json.features.should.be.instanceof Array

#? expected errors
should.exist json.geocoding.errors
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,street,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]

#? expected warnings
should.not.exist json.geocoding.warnings
Expand Down
2 changes: 1 addition & 1 deletion test/ciao/reverse/layers_mix_invalid_valid.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ json.features.should.be.instanceof Array

#? expected errors
should.exist json.geocoding.errors
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,street,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]

#? expected warnings
should.not.exist json.geocoding.warnings
Expand Down
2 changes: 1 addition & 1 deletion test/ciao/search/layers_invalid.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ json.features.should.be.instanceof Array

#? expected errors
should.exist json.geocoding.errors
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,street,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]

#? expected warnings
should.not.exist json.geocoding.warnings
Expand Down
2 changes: 1 addition & 1 deletion test/ciao/search/layers_mix_invalid_valid.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ json.features.should.be.instanceof Array

#? expected errors
should.exist json.geocoding.errors
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]
json.geocoding.errors.should.eql [ '\'notlayer\' is an invalid layers parameter. Valid options: coarse,address,venue,street,country,macroregion,region,county,localadmin,locality,borough,neighbourhood,continent,dependency,macrocounty,macrohood,microhood,disputed' ]

#? expected warnings
should.not.exist json.geocoding.warnings
Expand Down

0 comments on commit 6406a08

Please sign in to comment.