mirror of https://github.com/apache/jclouds.git
fix (unused) createImage http body in 404 test.
This commit is contained in:
parent
c8939ac0da
commit
59aa198fa7
|
@ -173,7 +173,7 @@ public class ServerClientExpectTest extends BaseNovaClientExpectTest {
|
||||||
.put("X-Auth-Token", authToken)
|
.put("X-Auth-Token", authToken)
|
||||||
.put("Content-Type", "application/json").build())
|
.put("Content-Type", "application/json").build())
|
||||||
.payload(payloadFromStringWithContentType(
|
.payload(payloadFromStringWithContentType(
|
||||||
"{\"createImage\":{\"name\": " + imageName + ", \"metadata\": {}}}", "application/json"))
|
"{\"createImage\":{\"name\":\"" + imageName + "\", \"metadata\": {}}}", "application/json"))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
HttpResponse createImageResponse = HttpResponse.builder().statusCode(404).build();
|
HttpResponse createImageResponse = HttpResponse.builder().statusCode(404).build();
|
||||||
|
|
Loading…
Reference in New Issue