diff --git a/base/src/test/java/io/quarkus/code/service/QuarkusProjectServiceTest.java b/base/src/test/java/io/quarkus/code/service/QuarkusProjectServiceTest.java index 75c84ad2e..bc693a372 100644 --- a/base/src/test/java/io/quarkus/code/service/QuarkusProjectServiceTest.java +++ b/base/src/test/java/io/quarkus/code/service/QuarkusProjectServiceTest.java @@ -100,12 +100,12 @@ void testDefault(TestInfo info) throws Throwable { } @Test - @DisplayName("When using 2.16 project, then, it should create all the files correctly with the requested content") - void test2_16(TestInfo info) throws Throwable { + @DisplayName("When using 3.2 project, then, it should create all the files correctly with the requested content") + void test3__2(TestInfo info) throws Throwable { // When QuarkusProjectService creator = getProjectService(); - PlatformInfo platformInfo = platformService.platformInfo("2.16"); - Path projDir = creator.createTmp(platformInfo, ProjectDefinition.builder().streamKey("2.16").build()); + PlatformInfo platformInfo = platformService.platformInfo("3.2"); + Path projDir = creator.createTmp(platformInfo, ProjectDefinition.builder().streamKey("3.2").build()); // Then assertThatDirectoryTreeMatchSnapshots(info, projDir); diff --git a/base/src/test/resources/__snapshots__/QuarkusProjectServiceTest/test2_16/dir-tree.snapshot b/base/src/test/resources/__snapshots__/QuarkusProjectServiceTest/test3__2/dir-tree.snapshot similarity index 100% rename from base/src/test/resources/__snapshots__/QuarkusProjectServiceTest/test2_16/dir-tree.snapshot rename to base/src/test/resources/__snapshots__/QuarkusProjectServiceTest/test3__2/dir-tree.snapshot diff --git a/base/src/test/resources/__snapshots__/QuarkusProjectServiceTest/test2_16/src_main_java_org_acme_GreetingResource.java b/base/src/test/resources/__snapshots__/QuarkusProjectServiceTest/test3__2/src_main_java_org_acme_GreetingResource.java similarity index 61% rename from base/src/test/resources/__snapshots__/QuarkusProjectServiceTest/test2_16/src_main_java_org_acme_GreetingResource.java rename to base/src/test/resources/__snapshots__/QuarkusProjectServiceTest/test3__2/src_main_java_org_acme_GreetingResource.java index 2a175fd5d..6938062ec 100644 --- a/base/src/test/resources/__snapshots__/QuarkusProjectServiceTest/test2_16/src_main_java_org_acme_GreetingResource.java +++ b/base/src/test/resources/__snapshots__/QuarkusProjectServiceTest/test3__2/src_main_java_org_acme_GreetingResource.java @@ -1,9 +1,9 @@ package org.acme; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; @Path("/hello") public class GreetingResource { @@ -13,4 +13,4 @@ public class GreetingResource { public String hello() { return "Hello from RESTEasy Reactive"; } -} \ No newline at end of file +}