diff --git a/core/test/utils/api.js b/core/test/utils/api.js index 9792af2e34..fbb7c2d39a 100644 --- a/core/test/utils/api.js +++ b/core/test/utils/api.js @@ -61,11 +61,6 @@ function getApiQuery(route) { return url.resolve(ApiRouteBase, route); } -function getApiURL(route) { - var baseURL = url.resolve(protocol + host + ':' + port, ApiRouteBase); - return url.resolve(baseURL, route); -} - function getURL() { return protocol + host; } @@ -113,7 +108,6 @@ function checkResponse(jsonResponse, objectType, additionalProperties, missingPr } module.exports = { - getApiURL: getApiURL, getApiQuery: getApiQuery, getSigninURL: getSigninURL, getAdminURL: getAdminURL,