fixed tests

This commit is contained in:
Adrian Cole 2012-05-21 01:03:30 -06:00
parent 94404841ca
commit 0c4b196604
2 changed files with 5 additions and 2 deletions

View File

@ -40,6 +40,9 @@ import com.google.common.collect.ImmutableSet;
*/
@Test(groups = "unit", testName = "AccessKeyAndSecretKeyAndTenantIdAuthenticationExpectTest")
public class AccessKeyAndSecretKeyAndTenantIdAuthenticationExpectTest extends BaseNovaClientExpectTest {
public AccessKeyAndSecretKeyAndTenantIdAuthenticationExpectTest() {
identity = identityWithTenantId;
}
/**
* this reflects the properties that a user would pass to createContext
@ -47,7 +50,7 @@ public class AccessKeyAndSecretKeyAndTenantIdAuthenticationExpectTest extends Ba
@Override
protected Properties setupProperties() {
Properties contextProperties = super.setupProperties();
contextProperties.setProperty("jclouds.keystone.credential-type", "authenticateApiAccessKeyCredentials");
contextProperties.setProperty("jclouds.keystone.credential-type", "apiAccessKeyCredentials");
return contextProperties;
}

View File

@ -47,7 +47,7 @@ public class AccessKeyAndSecretKeyAuthenticationExpectTest extends BaseNovaClien
@Override
protected Properties setupProperties() {
Properties contextProperties = super.setupProperties();
contextProperties.setProperty("jclouds.keystone.credential-type", "authenticateApiAccessKeyCredentials");
contextProperties.setProperty("jclouds.keystone.credential-type", "apiAccessKeyCredentials");
return contextProperties;
}