From efdd8617a0361eb157e7fb87b6dba03011d32f6b Mon Sep 17 00:00:00 2001 From: Tyler Pedelose Date: Wed, 6 Dec 2017 12:42:40 -0500 Subject: [PATCH] Fix for sources tests --- test/unit/sanitizer/_sources.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/sanitizer/_sources.js b/test/unit/sanitizer/_sources.js index fdeaebee..4c10ead1 100644 --- a/test/unit/sanitizer/_sources.js +++ b/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: [] };