Skip to content

Commit

Permalink
Fix type name comparison in credentials test
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkiGibson committed Oct 30, 2017
1 parent 1a3b185 commit 70c635f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void refreshToken() throws IOException {
assertEquals(1, httpClient.requests().size());
final HttpRequest request = httpClient.requests().get(0);
assertEquals("POST", request.httpMethod());
assertEquals("RefreshTokenClient$RefreshTokenService.refreshToken", request.callerMethod());
assertEquals("com.microsoft.azure.v2.credentials.RefreshTokenClient$RefreshTokenService.refreshToken", request.callerMethod());
assertEquals("http://my.base.url/mockTenant/oauth2/token", request.url());
assertEquals("client_id=mockClientId&grant_type=refresh_token&resource=mockResource&refresh_token=mockRefreshToken", CharStreams.toString(new InputStreamReader(request.body().createInputStream(), Charsets.UTF_8)));
}
Expand Down

0 comments on commit 70c635f

Please sign in to comment.