Skip to content

Commit c99e8c8

Browse files
committed
Update to JoinFaces 6.0.0
1 parent add2829 commit c99e8c8

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "java"
3-
id 'org.springframework.boot' version '3.5.7'
3+
id 'org.springframework.boot' version '4.0.0'
44
}
55

66
java {
@@ -14,10 +14,12 @@ repositories {
1414
}
1515

1616
dependencies {
17-
implementation platform('org.joinfaces:joinfaces-platform:5.5.7')
17+
implementation platform('org.joinfaces:joinfaces-platform:6.0.0')
1818
implementation 'org.joinfaces:faces-spring-boot-starter'
1919

2020
testImplementation "org.springframework.boot:spring-boot-starter-test"
21+
testImplementation "org.springframework.boot:spring-boot-resttestclient"
22+
testImplementation "org.springframework.boot:spring-boot-starter-restclient-test"
2123
}
2224

2325
tasks.named('test') {

src/main/java/org/joinfaces/example/JarExampleApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.SpringBootApplication;
5-
import org.springframework.boot.web.servlet.ServletComponentScan;
5+
import org.springframework.boot.web.server.servlet.context.ServletComponentScan;
66

77
/**
88
* @author Lars Grefer

src/test/java/org/joinfaces/example/JarExampleApplicationTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
import org.junit.jupiter.api.Test;
44
import org.springframework.beans.factory.annotation.Autowired;
5+
import org.springframework.boot.resttestclient.autoconfigure.AutoConfigureTestRestTemplate;
56
import org.springframework.boot.test.context.SpringBootTest;
6-
import org.springframework.boot.test.web.client.TestRestTemplate;
7+
import org.springframework.boot.resttestclient.TestRestTemplate;
78
import org.springframework.http.ResponseEntity;
89

910
import static org.assertj.core.api.Assertions.assertThat;
@@ -15,6 +16,7 @@
1516
classes = JarExampleApplication.class,
1617
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT
1718
)
19+
@AutoConfigureTestRestTemplate
1820
public class JarExampleApplicationTest {
1921

2022
@Autowired

0 commit comments

Comments
 (0)