Skip to content

Commit

Permalink
Make sha256 the default hashing algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
AnuGayan committed Oct 17, 2024
1 parent 209f636 commit 2788b04
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1802,7 +1802,8 @@ public void testAddAPISpecificPolicyToAPI() throws Exception {
* Checks whether all the API revision deployment mapping details are retrieved correctly
* @throws APIManagementException if an error occurs while retrieving revision deployment mapping details
*/
@Test public void testRetrieveAllWorkflowFromInternalReference() throws Exception {
@Test
public void testRetrieveAllWorkflowFromInternalReference() throws Exception {
WorkflowStatus workflowStatus = WorkflowStatus.CREATED;
String revisionUUID = "821b9664-eeca-4173-9f56-3dc6d46bd6eb";
String wfType = "AM_REVISION_DEPLOYMENT";
Expand All @@ -1821,11 +1822,13 @@ public void testAddAPISpecificPolicyToAPI() throws Exception {
* Checks whether the API revision deployment mapping details are retrieved correctly
* @throws APIManagementException if an error occurs while retrieving revision deployment mapping details
*/
@Test public void testGetAPIRevisionDeploymentsByWorkflowStatusAndApiUUID() throws Exception {
@Test
public void testGetAPIRevisionDeploymentsByWorkflowStatusAndApiUUID() throws Exception {
String workflowStatus = "CREATED";
String apiUUID = "7af95c9d-6177-4191-ab3e-d3f6c1cdc4c2";
String revisionUUID = "821b9664-eeca-4173-9f56-3dc6d46bd6eb";
String deployment = "default";
Thread.sleep(1000);
List<APIRevisionDeployment> apiRevisionDeployments = apiMgtDAO.getAPIRevisionDeploymentsByWorkflowStatusAndApiUUID(
apiUUID, workflowStatus);
Assert.assertNotNull(apiRevisionDeployments);
Expand Down

0 comments on commit 2788b04

Please sign in to comment.