Skip to content

Commit

Permalink
Test case changes related to /api-manager/issues/2971
Browse files Browse the repository at this point in the history
  • Loading branch information
rmsamitha committed Jul 5, 2024
1 parent 140fe57 commit 30bb101
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ public void testOperationPolicyAdditionWithMissingAttributes() throws Exception
apidto.getOperations().get(0).setOperationPolicies(apiOperationPoliciesDTO);

HttpResponse updateResponse = restAPIPublisher.updateAPIWithHttpInfo(apidto);
assertEquals(updateResponse.getResponseCode(), 500);
assertEquals(updateResponse.getResponseCode(), 400);
}

@Test(groups = {"wso2.am"}, description = "Invoke the API after adding the add header operation policy",
Expand All @@ -537,7 +537,7 @@ public void testAddOperationPolicyForNotSupportedFlow() throws Exception {
apidto.getOperations().get(0).setOperationPolicies(apiOperationPoliciesDTO);

HttpResponse updateResponse = restAPIPublisher.updateAPIWithHttpInfo(apidto);
assertEquals(updateResponse.getResponseCode(), 500);
assertEquals(updateResponse.getResponseCode(), 400);
}

@Test(groups = {"wso2.am"}, description = "Invoke the API after adding the add header operation policy",
Expand Down

0 comments on commit 30bb101

Please sign in to comment.