Restore MVT path configuration after each suite pass

This commit is contained in:
David Manzanares 2017-10-06 16:21:34 +02:00
parent 43885f130b
commit a706fd81ba

View File

@ -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 () {