Browse Source

Fix for sources tests

pull/1079/head
Tyler Pedelose 7 years ago
parent
commit
efdd8617a0
  1. 4
      test/unit/sanitizer/_sources.js

4
test/unit/sanitizer/_sources.js

@ -29,7 +29,7 @@ module.exports.tests.no_sources = function(test, common) {
};
var expected_error = 'sources parameter cannot be an empty string. ' +
'Valid options: osm,oa,gn,wof,openstreetmap,openaddresses,geonames,geonamesmil,whosonfirst';
'Valid options: osm,oa,gn,gnm,wof,openstreetmap,openaddresses,geonames,geonamesmil,whosonfirst';
var messages = sanitizer.sanitize(req.query, req.clean);
@ -104,7 +104,7 @@ module.exports.tests.invalid_sources = function(test, common) {
var expected_messages = {
errors: [
'\'notasource\' is an invalid sources parameter. ' +
'Valid options: osm,oa,gn,wof,openstreetmap,openaddresses,geonames,geonamesmil,whosonfirst'
'Valid options: osm,oa,gn,gnm,wof,openstreetmap,openaddresses,geonames,geonamesmil,whosonfirst'
],
warnings: []
};

Loading…
Cancel
Save