Skip to content

Commit

Permalink
Fix OpenAPIDistributionArtifactCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryamZi committed Aug 16, 2023
1 parent 96f4834 commit f05ac88
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void openapiAnnotationExistsTest() {
.resolve("cache")
.resolve("ballerina")
.resolve("openapi")
.resolve("1.7.0")
.resolve("1.8.0")
.resolve("bir");

Path jarPath = TEST_DISTRIBUTION_PATH
Expand All @@ -61,7 +61,7 @@ public void openapiAnnotationExistsTest() {
.resolve("cache")
.resolve("ballerina")
.resolve("openapi")
.resolve("1.7.0")
.resolve("1.8.0")
.resolve("java17");

Path balaPath = TEST_DISTRIBUTION_PATH
Expand All @@ -70,10 +70,10 @@ public void openapiAnnotationExistsTest() {
.resolve("bala")
.resolve("ballerina")
.resolve("openapi")
.resolve("1.7.0")
.resolve("java11")
.resolve("1.8.0")
.resolve("java17")
.resolve("platform")
.resolve("java11");
.resolve("java17");

Path breLibPath = TEST_DISTRIBUTION_PATH
.resolve(DIST_NAME)
Expand All @@ -95,7 +95,7 @@ public void openapiAnnotationExistsTest() {

Assert.assertTrue(Files.exists(birPath));
Assert.assertTrue(Files.exists(balaPath));
Assert.assertTrue(Files.exists(jarPath.resolve("ballerina-openapi-1.7.0.jar")));
Assert.assertTrue(Files.exists(jarPath.resolve("ballerina-openapi-1.8.0.jar")));
Assert.assertNotNull(TestUtils.findFileOrDirectory(breLibPath, "openapi-cli-"));
Assert.assertNotNull(TestUtils.findFileOrDirectory(breLibPath, "openapi-validator-"));
Assert.assertNotNull(TestUtils.findFileOrDirectory(breLibPath, "openapi-bal-service-"));
Expand Down

0 comments on commit f05ac88

Please sign in to comment.