Skip to content

Commit

Permalink
Test case change related to the rest api error response improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
rmsamitha committed Jul 3, 2024
1 parent 2d25d9d commit e2126ca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ public void testGetOASParser() throws Exception {
definition = OASParserUtil.getOASParser(oasInvalid);
Assert.fail("Exception expected");
} catch (APIManagementException e) {
Assert.assertTrue(e.getMessage().contains("Invalid OAS definition provided."));
Assert.assertTrue(e.getMessage().contains(
"Could not determine the OAS version as the version element of the definition is not found."));
}
}

Expand Down

0 comments on commit e2126ca

Please sign in to comment.