From 95244334374d0fe31b7b2927d740294988926d1d Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Thu, 10 Aug 2017 16:24:40 +0200 Subject: [PATCH] Use instance server --- test/support/test-client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/support/test-client.js b/test/support/test-client.js index 3be8bf71..1f8344df 100644 --- a/test/support/test-client.js +++ b/test/support/test-client.js @@ -487,7 +487,7 @@ TestClient.prototype.getFeatureAttributes = function(featureId, layerId, params, step( function createLayergroup() { var next = this; - assert.response(server, + assert.response(self.server, { url: url, method: 'POST', @@ -526,7 +526,7 @@ TestClient.prototype.getFeatureAttributes = function(featureId, layerId, params, url = '/api/v1/map/' + layergroupId + '/' + layerId + '/attributes/' + featureId; - assert.response(server, + assert.response(self.server, { url: url, method: 'GET',