From a706fd81ba33d512061c54873fb247766f679242 Mon Sep 17 00:00:00 2001 From: David Manzanares Date: Fri, 6 Oct 2017 16:21:34 +0200 Subject: [PATCH] Restore MVT path configuration after each suite pass --- test/acceptance/mvt.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/acceptance/mvt.js b/test/acceptance/mvt.js index 444c72fe..af67f8bf 100644 --- a/test/acceptance/mvt.js +++ b/test/acceptance/mvt.js @@ -24,9 +24,13 @@ describe('mvt (postgis)', mvt(true)); function mvt(usePostGIS) { return function () { + const originalUsePostGIS = serverOptions.renderer.mvt.usePostGIS; before(function () { serverOptions.renderer.mvt.usePostGIS = usePostGIS; }); + after(function (){ + serverOptions.renderer.mvt.usePostGIS = originalUsePostGIS; + }); describe('analysis-layers-dataviews-mvt', function () {