> +
> +   public void testGetConsoleWhenResponseIs401NotAuthorized() throws 
> Exception {
> +       String serverId = "d3aae414-9dc9-46d1-a51b-e9b7071a84b7";
> +       String type = "novnc";
> +
> +       HttpRequest getConsole = HttpRequest
> +       .builder()
> +       .method("POST")
> +       .addHeader("Accept", "application/json")
> +       .addHeader("X-Auth-Token", authToken)
> +       .payload(payloadFromStringWithContentType(
> +                   "{\"os-getVNCConsole\":{\"type\":\"novnc\"}}",
> +                   "application/json"))
> +       
> .endpoint("https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/3456/";
> +               + "servers/" + serverId + "/action")
> +       .build();

fixed

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/339/files#r11378285

Reply via email to