Skip to content

Commit

Permalink
Fix test case failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharika Madurapperuma committed Sep 20, 2024
1 parent 006896a commit dc4a9c2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ public void testPublishAsyncApi() throws Exception {
try {
revisionUUID = createAPIRevisionAndDeployUsingRest(apiId, restAPIPublisher);
} catch (ApiException e) {
Assert.assertTrue(e.getMessage().contains("Error while adding new API Revision for API : "));
Assert.assertTrue(e.getMessage().contains("Error while adding new API Revision for API : ")
|| e.getMessage().contains("Creating API Revisions is not supported"));
}
if (revisionUUID != null) {
Assert.fail();
Expand Down

0 comments on commit dc4a9c2

Please sign in to comment.