Skip to content

Commit ac88b81

Browse files
authored
Fix tests (#1281)
1 parent ca4848b commit ac88b81

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

base/src/test/java/io/quarkus/code/service/QuarkusProjectServiceTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ void testDefault(TestInfo info) throws Throwable {
100100
}
101101

102102
@Test
103-
@DisplayName("When using 2.16 project, then, it should create all the files correctly with the requested content")
104-
void test2_16(TestInfo info) throws Throwable {
103+
@DisplayName("When using 3.2 project, then, it should create all the files correctly with the requested content")
104+
void test3__2(TestInfo info) throws Throwable {
105105
// When
106106
QuarkusProjectService creator = getProjectService();
107-
PlatformInfo platformInfo = platformService.platformInfo("2.16");
108-
Path projDir = creator.createTmp(platformInfo, ProjectDefinition.builder().streamKey("2.16").build());
107+
PlatformInfo platformInfo = platformService.platformInfo("3.2");
108+
Path projDir = creator.createTmp(platformInfo, ProjectDefinition.builder().streamKey("3.2").build());
109109

110110
// Then
111111
assertThatDirectoryTreeMatchSnapshots(info, projDir);
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package org.acme;
22

3-
import javax.ws.rs.GET;
4-
import javax.ws.rs.Path;
5-
import javax.ws.rs.Produces;
6-
import javax.ws.rs.core.MediaType;
3+
import jakarta.ws.rs.GET;
4+
import jakarta.ws.rs.Path;
5+
import jakarta.ws.rs.Produces;
6+
import jakarta.ws.rs.core.MediaType;
77

88
@Path("/hello")
99
public class GreetingResource {
@@ -13,4 +13,4 @@ public class GreetingResource {
1313
public String hello() {
1414
return "Hello from RESTEasy Reactive";
1515
}
16-
}
16+
}

0 commit comments

Comments
 (0)