fix (unused) createImage http body in 404 test.

This commit is contained in:
Tim Miller 2012-04-04 16:27:22 -07:00
parent c8939ac0da
commit 59aa198fa7
1 changed files with 1 additions and 1 deletions

View File

@ -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();