Use instance server

This commit is contained in:
Raul Ochoa 2017-08-10 16:24:40 +02:00
parent 14d5ee4178
commit 9524433437

View File

@ -487,7 +487,7 @@ TestClient.prototype.getFeatureAttributes = function(featureId, layerId, params,
step( step(
function createLayergroup() { function createLayergroup() {
var next = this; var next = this;
assert.response(server, assert.response(self.server,
{ {
url: url, url: url,
method: 'POST', method: 'POST',
@ -526,7 +526,7 @@ TestClient.prototype.getFeatureAttributes = function(featureId, layerId, params,
url = '/api/v1/map/' + layergroupId + '/' + layerId + '/attributes/' + featureId; url = '/api/v1/map/' + layergroupId + '/' + layerId + '/attributes/' + featureId;
assert.response(server, assert.response(self.server,
{ {
url: url, url: url,
method: 'GET', method: 'GET',