diff --git a/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/internal/BaseVCloudDirectorRestClientExpectTest.java b/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/internal/BaseVCloudDirectorRestClientExpectTest.java index 1b5d01265e..9177a97d2e 100644 --- a/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/internal/BaseVCloudDirectorRestClientExpectTest.java +++ b/labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/internal/BaseVCloudDirectorRestClientExpectTest.java @@ -65,10 +65,9 @@ public class BaseVCloudDirectorRestClientExpectTest extends BaseRestClientExpect .build()).build(); } - protected HttpResponse getStandardPaylodResponse(String relativeFilePath) { + protected HttpResponse getStandardPaylodResponse(String relativeFilePath, String mediaType) { return HttpResponse.builder().statusCode(200) - .payload(payloadFromResourceWithContentType(relativeFilePath, VCloudDirectorMediaType.ORGLIST_XML - + ";version=1.5")).build(); + .payload(payloadFromResourceWithContentType(relativeFilePath, mediaType+";version=1.5")).build(); } }