tests - fix api path
@@ -60,9 +60,8 @@ public class TestUtils {
}
public static String getRegistryUrl() {
- String api = REGISTRY_HOST.equals("localhost") ? "/api" : "";
return getRegistryUrl(
- String.format("http://%s:%s%s", REGISTRY_HOST, REGISTRY_PORT, api),
+ String.format("http://%s:%s/api", REGISTRY_HOST, REGISTRY_PORT),
false
);
}
