mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 23:37:43 +03:00
Removed unused getApiURL
method in api test utilities
no issue - housekeeping in test utilities
This commit is contained in:
parent
242f7ef4c8
commit
ecc89b5c0b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user