diff --git a/sanitizer/search.js b/sanitizer/search.js index 99baa5a7..4319e55c 100644 --- a/sanitizer/search.js +++ b/sanitizer/search.js @@ -6,8 +6,6 @@ module.exports.middleware = (_api_pelias_config) => { singleScalarParameters: require('../sanitizer/_single_scalar_parameters'), quattroshapes_deprecation: require('../sanitizer/_deprecate_quattroshapes'), text: require('../sanitizer/_text'), - iso2_to_iso3: require('../sanitizer/_iso2_to_iso3'), - city_name_standardizer: require('../sanitizer/_city_name_standardizer'), size: require('../sanitizer/_size')(/* use defaults*/), layers: require('../sanitizer/_targets')('layers', type_mapping.layer_mapping), sources: require('../sanitizer/_targets')('sources', type_mapping.source_mapping), diff --git a/test/unit/sanitizer/search.js b/test/unit/sanitizer/search.js index 214c9cbc..bbe85713 100644 --- a/test/unit/sanitizer/search.js +++ b/test/unit/sanitizer/search.js @@ -104,9 +104,6 @@ module.exports.tests.sanitize = (test, common) => { const expected_sanitizers = [ '_single_scalar_parameters', '_deprecate_quattroshapes', - '_text', - '_iso2_to_iso3', - '_city_name_standardizer', '_size', '_targets/layers', '_targets/sources', @@ -116,6 +113,9 @@ module.exports.tests.sanitize = (test, common) => { '_geo_search', '_boundary_country', '_categories', + '_text', + '_iso2_to_iso3', + '_city_name_standardizer', '_geonames_warnings' ];