mirror of https://github.com/apache/jclouds.git
fixed tests
This commit is contained in:
parent
94404841ca
commit
0c4b196604
|
@ -40,6 +40,9 @@ import com.google.common.collect.ImmutableSet;
|
||||||
*/
|
*/
|
||||||
@Test(groups = "unit", testName = "AccessKeyAndSecretKeyAndTenantIdAuthenticationExpectTest")
|
@Test(groups = "unit", testName = "AccessKeyAndSecretKeyAndTenantIdAuthenticationExpectTest")
|
||||||
public class AccessKeyAndSecretKeyAndTenantIdAuthenticationExpectTest extends BaseNovaClientExpectTest {
|
public class AccessKeyAndSecretKeyAndTenantIdAuthenticationExpectTest extends BaseNovaClientExpectTest {
|
||||||
|
public AccessKeyAndSecretKeyAndTenantIdAuthenticationExpectTest() {
|
||||||
|
identity = identityWithTenantId;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* this reflects the properties that a user would pass to createContext
|
* this reflects the properties that a user would pass to createContext
|
||||||
|
@ -47,7 +50,7 @@ public class AccessKeyAndSecretKeyAndTenantIdAuthenticationExpectTest extends Ba
|
||||||
@Override
|
@Override
|
||||||
protected Properties setupProperties() {
|
protected Properties setupProperties() {
|
||||||
Properties contextProperties = super.setupProperties();
|
Properties contextProperties = super.setupProperties();
|
||||||
contextProperties.setProperty("jclouds.keystone.credential-type", "authenticateApiAccessKeyCredentials");
|
contextProperties.setProperty("jclouds.keystone.credential-type", "apiAccessKeyCredentials");
|
||||||
return contextProperties;
|
return contextProperties;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ public class AccessKeyAndSecretKeyAuthenticationExpectTest extends BaseNovaClien
|
||||||
@Override
|
@Override
|
||||||
protected Properties setupProperties() {
|
protected Properties setupProperties() {
|
||||||
Properties contextProperties = super.setupProperties();
|
Properties contextProperties = super.setupProperties();
|
||||||
contextProperties.setProperty("jclouds.keystone.credential-type", "authenticateApiAccessKeyCredentials");
|
contextProperties.setProperty("jclouds.keystone.credential-type", "apiAccessKeyCredentials");
|
||||||
return contextProperties;
|
return contextProperties;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue