From 02e83c64236f069f0f39b897a0c847c6fdd22f86 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Mon, 9 Jan 2012 10:56:27 -0800 Subject: [PATCH] DeployVirtualMachineOptions.NONE is not immutable, sadly --- .../cloudstack/compute/strategy/OptionsConverterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/cloudstack/src/test/java/org/jclouds/cloudstack/compute/strategy/OptionsConverterTest.java b/apis/cloudstack/src/test/java/org/jclouds/cloudstack/compute/strategy/OptionsConverterTest.java index b99ecc70b6..72b1ad0d99 100644 --- a/apis/cloudstack/src/test/java/org/jclouds/cloudstack/compute/strategy/OptionsConverterTest.java +++ b/apis/cloudstack/src/test/java/org/jclouds/cloudstack/compute/strategy/OptionsConverterTest.java @@ -45,7 +45,7 @@ public class OptionsConverterTest { BasicNetworkOptionsConverter converter = new BasicNetworkOptionsConverter(); CloudStackTemplateOptions optionsIn = CloudStackTemplateOptions.Builder.securityGroupId(42).networkId(46); - DeployVirtualMachineOptions optionsOut = DeployVirtualMachineOptions.NONE; + DeployVirtualMachineOptions optionsOut = new DeployVirtualMachineOptions(); DeployVirtualMachineOptions optionsOut2 = converter.apply(optionsIn, EMPTY_NETWORKS_MAP, ZONE_ID, optionsOut); assertTrue(optionsOut == optionsOut2);