From f079c24554bbfc8c5d10e525770d4c7d9867f944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Mon, 31 Jul 2017 18:22:13 +0200 Subject: [PATCH] Use parsed body variable --- test/support/test-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/support/test-client.js b/test/support/test-client.js index 34d04200..2f322770 100644 --- a/test/support/test-client.js +++ b/test/support/test-client.js @@ -707,7 +707,7 @@ TestClient.prototype.getLayergroup = function(expectedResponse, callback) { return callback(err); } - return callback(null, JSON.parse(res.body)); + return callback(null, parsedBody); } ); };