From 976ee35a35592bec278cf922c17d671e45161f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Wed, 9 May 2018 15:24:33 +0200 Subject: [PATCH] Use new routes configuration schema in ported test --- test/acceptance/ported/support/ported_server_options.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/acceptance/ported/support/ported_server_options.js b/test/acceptance/ported/support/ported_server_options.js index d850b1c9..243875a0 100644 --- a/test/acceptance/ported/support/ported_server_options.js +++ b/test/acceptance/ported/support/ported_server_options.js @@ -13,16 +13,20 @@ module.exports = _.extend({}, serverOptions, { base_url_mapconfig: '/database/:dbname/layergroup', routes: { - api: { + v0: { paths: [ '/tiles', '/database/:dbname' ], + // Base url for the Detached Maps API + // "/tiles/layergroup" is for compatibility with versions up to 1.6.x map: { paths: [ '/layergroup' ] }, + // Base url for the Templated Maps API + // "/tiles/template" is for compatibility with versions up to 1.6.x template: { paths: [ '/template' @@ -31,6 +35,7 @@ module.exports = _.extend({}, serverOptions, { } }, + grainstore: { datasource: { geometry_field: 'the_geom',