Fixed bad assertion in multilayer tests

This commit is contained in:
Daniel García Aubert 2016-02-01 16:31:03 +01:00
parent a4041524a3
commit 6ee1f1a8bf
2 changed files with 20 additions and 7 deletions

View File

@ -401,11 +401,26 @@ describe('multilayer', function() {
assert.ok(body.layergroupid);
expected_token = LayergroupToken.parse(body.layergroupid).token;
assert.deepEqual(body.metadata, {
layers: [
{ type: "mapnik", "meta":{} },
{ type: "mapnik", "meta":{} }
]
});
layers: [{
type: "mapnik",
meta: {
stats: [{
type: "table",
name: "public.test_table",
features: -1
}]
}
}, {
type: "mapnik",
meta: {
stats: [{
type: "table",
name: "public.test_table",
features: -1
}]
}
}]
});
didRunJsonCallback = true;
}
eval(res.body);
@ -1278,4 +1293,3 @@ describe('multilayer', function() {
});
});

View File

@ -374,4 +374,3 @@ describe('multilayer interactivity and layers order', function() {
chaosScenarios.forEach(testInteractivityLayersOrderScenario);
});