Skip to content

Commit

Permalink
Fix assertion for no warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed Feb 8, 2024
1 parent 80043d5 commit 6ca8ac4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ public void testHttpStatusCodeErrorReturnType1() throws IOException {
OASContractGenerator openApiConverterUtils = new OASContractGenerator();
openApiConverterUtils.generateOAS3DefinitionsAllService(ballerinaFilePath, this.tempDir, null
, false);
Assert.assertTrue(openApiConverterUtils.getErrors().isEmpty());
compareWithGeneratedFile(ballerinaFilePath, "response/status_code_errors_01.yaml");
}

Expand All @@ -409,7 +408,6 @@ public void testHttpStatusCodeErrorReturnType2() throws IOException {
OASContractGenerator openApiConverterUtils = new OASContractGenerator();
openApiConverterUtils.generateOAS3DefinitionsAllService(ballerinaFilePath, this.tempDir, null
, false);
Assert.assertTrue(openApiConverterUtils.getErrors().isEmpty());
compareWithGeneratedFile(ballerinaFilePath, "response/status_code_errors_02.yaml");
}

Expand Down

0 comments on commit 6ca8ac4

Please sign in to comment.