Do not run test if postgis version is lower than or equal to 2.4

This commit is contained in:
Daniel García Aubert
2017-10-16 12:15:28 +02:00
parent 67ab12e8e7
commit f8ff41be01
2 changed files with 4 additions and 4 deletions

View File

@@ -152,7 +152,7 @@ describe('buffer size per format', function () {
});
});
};
if (test.format === 'mvt'){
if (process.env.POSTGIS_VERSION === '2.4' && test.format === 'mvt'){
testFn(true);
}
testFn(false);
@@ -465,7 +465,7 @@ describe('buffer size per format for named maps w/o placeholders', function () {
});
});
};
if (test.format === 'mvt'){
if (process.env.POSTGIS_VERSION === '2.4' && test.format === 'mvt'){
testFn(true);
}
testFn(false);