Now .getLayergroup() in test client accepts params to perform custom instantiations

This commit is contained in:
Daniel García Aubert
2017-12-05 12:09:31 +01:00
parent 499e9de75d
commit 66b41a6ae7
12 changed files with 82 additions and 52 deletions
+2 -3
View File
@@ -92,7 +92,7 @@ describe('user render timeout limit', function () {
}
};
this.testClient.getLayergroup(expectedResponse, (err, timeoutError) => {
this.testClient.getLayergroup({ response: expectedResponse }, (err, timeoutError) => {
assert.ifError(err);
assert.deepEqual(timeoutError, {
@@ -245,7 +245,7 @@ describe('user render timeout limit', function () {
assert.equal(tileJSON.length, 2);
assert.equal(tileJSON[0].name, 'errorTileSquareLayer');
assert.equal(tileJSON[1].name, 'errorTileStripesLayer');
done();
});
});
@@ -399,4 +399,3 @@ describe('user render timeout limit', function () {
});
});
});