From f959db6546fd41d967b1d5647b9fe719a5b83602 Mon Sep 17 00:00:00 2001 From: Alex Yarmula Date: Tue, 16 Mar 2010 17:03:08 -0700 Subject: [PATCH] fixed the aws tests --- .../org/jclouds/aws/ec2/options/RunInstancesOptionsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws/core/src/test/java/org/jclouds/aws/ec2/options/RunInstancesOptionsTest.java b/aws/core/src/test/java/org/jclouds/aws/ec2/options/RunInstancesOptionsTest.java index 0da9638e42..7bc533b8ac 100644 --- a/aws/core/src/test/java/org/jclouds/aws/ec2/options/RunInstancesOptionsTest.java +++ b/aws/core/src/test/java/org/jclouds/aws/ec2/options/RunInstancesOptionsTest.java @@ -78,7 +78,7 @@ public class RunInstancesOptionsTest { public void testWithSecurityGroup() { RunInstancesOptions options = new RunInstancesOptions(); options.withSecurityGroup("test"); - assertEquals(options.buildFormParameters().get("SecurityGroup"), Collections + assertEquals(options.buildFormParameters().get("SecurityGroup.1"), Collections .singletonList("test")); } @@ -91,7 +91,7 @@ public class RunInstancesOptionsTest { @Test public void testWithSecurityGroupStatic() { RunInstancesOptions options = withSecurityGroup("test"); - assertEquals(options.buildFormParameters().get("SecurityGroup"), Collections + assertEquals(options.buildFormParameters().get("SecurityGroup.1"), Collections .singletonList("test")); }