Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Thumimku committed Oct 23, 2024
1 parent d0f7a23 commit b171a8e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public void testGetTokenUsingClientCredentialsGrant() throws Exception {
HTTPResponse tokenHTTPResp = request.toHTTPRequest().send();
Assert.assertNotNull(tokenHTTPResp, "Access token http response is null.");
Assert.assertEquals(tokenHTTPResp.getContentType().toString(), "application/json",
"Token response did not indicate correct token response");
"Token response did not indicate correct token response.");
TokenResponse tokenResponse = TokenResponse.parse(tokenHTTPResp);
Assert.assertTrue(tokenResponse.indicatesSuccess(),
"Token response did not indicate success. Token request has failed.");
Expand Down Expand Up @@ -270,7 +270,6 @@ public void testGetTokenUsingCCGrantWithInvalidClientCredentials() throws Except
dependsOnMethods = "testGetTokenUsingCCGrantWithInvalidClientCredentials")
public void testGetTokenUsingCCGrantWithoutCredentials() throws Exception {


List<NameValuePair> parameters = new ArrayList<>();
parameters.add(new BasicNameValuePair("grant_type", OAuth2Constant.OAUTH2_GRANT_TYPE_CLIENT_CREDENTIALS));

Expand Down

0 comments on commit b171a8e

Please sign in to comment.