Going green: fix test

This commit is contained in:
Daniel García Aubert
2018-03-02 18:37:13 +01:00
parent 6331bebb30
commit f03d98cd0d
+2 -2
View File
@@ -37,7 +37,7 @@ return function () {
describe('named map tile', function () {
it('should get default named vector tile', function (done) {
const apikeyToken = 1234;
const templateName = 'mvt-template';
const templateName = `mvt-template-${usePostGIS ? 'postgis' : 'mapnik'}`;
const template = {
version: '0.0.1',
name: templateName,
@@ -71,7 +71,7 @@ return function () {
assert.equal(tileJSON[0].features.length, 10);
done();
testClient.drain(done);
});
});
});