Skip to content

Commit 30b8e68

Browse files
vpavicrwinch
authored andcommitted
Build against Spring Framework 6.0.0-RC1 snapshots
1 parent c2f8428 commit 30b8e68

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

gradle/dependency-management.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencyManagement {
44
mavenBom 'com.fasterxml.jackson:jackson-bom:2.13.4'
55
mavenBom 'org.junit:junit-bom:5.9.0'
66
mavenBom 'org.mockito:mockito-bom:4.8.0'
7-
mavenBom 'org.springframework:spring-framework-bom:6.0.0-M6'
7+
mavenBom 'org.springframework:spring-framework-bom:6.0.0-SNAPSHOT'
88
mavenBom 'org.springframework.data:spring-data-bom:2022.0.0-M6'
99
mavenBom 'org.springframework.security:spring-security-bom:6.0.0-M7'
1010
mavenBom 'org.testcontainers:testcontainers-bom:1.17.3'

spring-session-core/src/test/java/org/springframework/session/aot/hint/server/WebSessionSecurityRuntimeHintsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void registerHintsWhenWebSessionMissingThenDoNotRegisterHints() {
5454
classUtilsMock.when(() -> ClassUtils.isPresent(eq("org.springframework.web.server.WebSession"), any()))
5555
.thenReturn(false);
5656
this.webSessionSecurityRuntimeHints.registerHints(this.hints, getClass().getClassLoader());
57-
assertThat(this.hints.serialization().javaSerialization()).isEmpty();
57+
assertThat(this.hints.serialization().javaSerializationHints()).isEmpty();
5858
}
5959
}
6060

@@ -66,7 +66,7 @@ void registerHintsWhenDefaultCsrfTokenMissingThenDoNotRegisterHints() {
6666
.isPresent(eq("org.springframework.security.web.server.csrf.DefaultCsrfToken"), any()))
6767
.thenReturn(false);
6868
this.webSessionSecurityRuntimeHints.registerHints(this.hints, getClass().getClassLoader());
69-
assertThat(this.hints.serialization().javaSerialization()).isEmpty();
69+
assertThat(this.hints.serialization().javaSerializationHints()).isEmpty();
7070
}
7171
}
7272

spring-session-core/src/test/java/org/springframework/session/aot/hint/servlet/HttpSessionSecurityRuntimeHintsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void registerHintsWhenHttpSessionMissingThenDoNotRegisterHints() {
6565
classUtilsMock.when(() -> ClassUtils.isPresent(eq("jakarta.servlet.http.HttpSession"), any()))
6666
.thenReturn(false);
6767
this.httpSessionSecurityRuntimeHints.registerHints(this.hints, getClass().getClassLoader());
68-
assertThat(this.hints.serialization().javaSerialization()).isEmpty();
68+
assertThat(this.hints.serialization().javaSerializationHints()).isEmpty();
6969
}
7070
}
7171

@@ -76,7 +76,7 @@ void registerHintsWhenDefaultCsrfTokenMissingThenDoNotRegisterHints() {
7676
() -> ClassUtils.isPresent(eq("org.springframework.security.web.csrf.DefaultCsrfToken"), any()))
7777
.thenReturn(false);
7878
this.httpSessionSecurityRuntimeHints.registerHints(this.hints, getClass().getClassLoader());
79-
assertThat(this.hints.serialization().javaSerialization()).isEmpty();
79+
assertThat(this.hints.serialization().javaSerializationHints()).isEmpty();
8080
}
8181
}
8282

0 commit comments

Comments
 (0)