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); } ); };