Fixed typo

This commit is contained in:
Daniel García Aubert 2016-03-08 14:41:10 +01:00
parent ab6004f21e
commit 3e0c19a669
2 changed files with 3 additions and 1 deletions

View File

@ -281,6 +281,8 @@ MapController.prototype.instantiateTemplate = function(req, res, prepareParamsFn
res.set('X-Layergroup-Id', layergroup.layergroupid);
self.surrogateKeysCache.tag(res, new NamedMapsCacheEntry(cdbuser, mapConfigProvider.getTemplateName()));
console.log(layergroup);
self.send(req, res, layergroup, 200);
}
}

View File

@ -71,7 +71,7 @@ describe('tests from old api translated to multilayer', function() {
},
function(res) {
var parsed = JSON.parse(res.body);
assert.ok(parsed.errors[0]);q
assert.ok(parsed.errors[0]);
assert.ok(parsed.errors[0].match(/Unclosed block/));
done();
}