Skip to content

Commit

Permalink
Fix tests (#1281)
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy authored Jan 25, 2024
1 parent ca4848b commit ac88b81
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -13,4 +13,4 @@ public class GreetingResource {
public String hello() {
return "Hello from RESTEasy Reactive";
}
}
}

0 comments on commit ac88b81

Please sign in to comment.