fix broken tests

This commit is contained in:
Adrian Cole 2011-12-07 09:44:56 -08:00
parent 615de6d2a1
commit 83529d2238
2 changed files with 4 additions and 2 deletions

View File

@ -137,7 +137,7 @@ public class PortForwardingRule implements Comparable<PortForwardingRule> {
@SerializedName("virtualmachinename")
private String virtualMachineName;
@SerializedName("cidrlist")
private Set<String> CIDRs;
private Set<String> CIDRs = ImmutableSet.of();
@SerializedName("privateendport")
private int privateEndPort;
@SerializedName("publicendport")

View File

@ -49,6 +49,7 @@ public class ListNetworksResponseTest extends BaseSetParserTest<Network> {
.<Network> of(Network
.builder()
.id(204)
.account("adrian")
.name("Virtual Network")
.displayText(
"A dedicated virtualized network for your account. The broadcast domain is contained within a VLAN and all public network access is routed out by a virtual router.")
@ -66,7 +67,8 @@ public class ListNetworksResponseTest extends BaseSetParserTest<Network> {
.broadcastURI(URI.create("vlan://240"))
.DNS(ImmutableList.of("8.8.8.8"))
.guestIPType(GuestIPType.VIRTUAL)
.domain("cs3cloud.internal")
.domain("ROOT")
.domainId(1)
.isDefault(true)
.services(
ImmutableSortedSet.of(