fixed the aws tests

This commit is contained in:
Alex Yarmula 2010-03-16 17:03:08 -07:00
parent b9a5dc0d0b
commit f959db6546
1 changed files with 2 additions and 2 deletions

View File

@ -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"));
}