Removed unused getApiURL method in api test utilities

no issue

- housekeeping in test utilities
This commit is contained in:
Nazar Gargol 2018-09-12 16:58:15 +02:00
parent 242f7ef4c8
commit ecc89b5c0b

View File

@ -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,