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 3f51c34
Showing 1 changed file with 0 additions and 3 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 All @@ -419,7 +417,6 @@ public void testHttpStatusCodeErrorReturnType3() throws IOException {
OASContractGenerator openApiConverterUtils = new OASContractGenerator();
openApiConverterUtils.generateOAS3DefinitionsAllService(ballerinaFilePath, this.tempDir, null
, false);
Assert.assertTrue(openApiConverterUtils.getErrors().isEmpty());
compareWithGeneratedFile(ballerinaFilePath, "response/status_code_errors_03.yaml");
}

Expand Down

0 comments on commit 3f51c34

Please sign in to comment.