Fixed broken test

This commit is contained in:
Jeremy Daggett 2012-01-26 09:55:19 -08:00
parent 676e153080
commit bf58be7a6d
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ public class KeyStoneAuthenticationModule extends AbstractModule {
@Provides
@Singleton
protected IdentityServiceAsyncClient provideServiceClient(AsyncClientFactory factory) {
protected IdentityServiceAsyncClient provideIdentityServiceClient(AsyncClientFactory factory) {
return factory.create(IdentityServiceAsyncClient.class);
}

View File

@ -37,7 +37,7 @@ public class BaseKeyStoneRestClientExpectTest<S> extends BaseRestClientExpectTes
public BaseKeyStoneRestClientExpectTest() {
// username:tenantId
identity = "user@jclouds.org:12346637803162";
identity = "user@jclouds.org:40806637803162";
credential = "Password1234";
}
@ -48,7 +48,7 @@ public class BaseKeyStoneRestClientExpectTest<S> extends BaseRestClientExpectTes
.headers(ImmutableMultimap.of(HttpHeaders.ACCEPT, "application/json"))
.payload(
payloadFromStringWithContentType(
"{\"tenantId\":\"12346637803162\",\"auth\":{\"passwordCredentials\":{\"username\":\"user@jclouds.org\",\"password\":\"Password1234\"}}}",
"{\"auth\":{\"passwordCredentials\":{\"username\":\"user@jclouds.org\",\"password\":\"Password1234\"},\"tenantId\":\"40806637803162\"}}",
"application/json")).build();
protected String authToken = "Auth_4f173437e4b013bee56d1007";