Skip to content

Commit

Permalink
refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
SachiniSiriwardene committed Oct 19, 2023
1 parent afa21c8 commit a446658
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 61 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,9 @@ public void testUpdateServiceProviderRequestWithAdditionalParameters() throws Ex
updateResponsePayload.remove("client_secret");
updateResponsePayload.remove("client_secret_expires_at");
assertEquals(mapper.readTree(updateResponsePayload.toJSONString()),
mapper.readTree(updateRequestPayload.toJSONString()),
"Response payload should be equal.");
mapper.readTree(updateRequestPayload.toJSONString()), "Response payload should be equal.");

testDeleteServiceProvider();
}

@Test(alwaysRun = true, groups = "wso2.is", priority = 11,
Expand All @@ -500,7 +501,5 @@ public void validateErrorScenarios(JSONObject requestJSON, String errorCode, Str
JSONObject errorResponse = getPayload(response);
assertEquals(errorResponse.get("error"), errorCode);
assertEquals(errorResponse.get("error_description"), errorMessage);

// resetISConfiguration();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ private static Object[][] dcrConfigProvider() throws Exception {
}, {
getRegisterRequestJSON("request2.json"), getUpdateRequestJSON("request2.json"), ADMIN_USERNAME,
ADMIN_PASSWORD, SUPER_TENANT_DOMAIN
}, {
getRegisterRequestJSON("request3.json"), getUpdateRequestJSON("request3.json"), ADMIN_USERNAME,
ADMIN_PASSWORD, SUPER_TENANT_DOMAIN}
}
};
}

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit a446658

Please sign in to comment.