File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
spring-session-core/src/test/java/org/springframework/session/aot/hint Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ dependencyManagement {
4
4
mavenBom ' com.fasterxml.jackson:jackson-bom:2.13.4'
5
5
mavenBom ' org.junit:junit-bom:5.9.0'
6
6
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 '
8
8
mavenBom ' org.springframework.data:spring-data-bom:2022.0.0-M6'
9
9
mavenBom ' org.springframework.security:spring-security-bom:6.0.0-M7'
10
10
mavenBom ' org.testcontainers:testcontainers-bom:1.17.3'
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ void registerHintsWhenWebSessionMissingThenDoNotRegisterHints() {
54
54
classUtilsMock .when (() -> ClassUtils .isPresent (eq ("org.springframework.web.server.WebSession" ), any ()))
55
55
.thenReturn (false );
56
56
this .webSessionSecurityRuntimeHints .registerHints (this .hints , getClass ().getClassLoader ());
57
- assertThat (this .hints .serialization ().javaSerialization ()).isEmpty ();
57
+ assertThat (this .hints .serialization ().javaSerializationHints ()).isEmpty ();
58
58
}
59
59
}
60
60
@@ -66,7 +66,7 @@ void registerHintsWhenDefaultCsrfTokenMissingThenDoNotRegisterHints() {
66
66
.isPresent (eq ("org.springframework.security.web.server.csrf.DefaultCsrfToken" ), any ()))
67
67
.thenReturn (false );
68
68
this .webSessionSecurityRuntimeHints .registerHints (this .hints , getClass ().getClassLoader ());
69
- assertThat (this .hints .serialization ().javaSerialization ()).isEmpty ();
69
+ assertThat (this .hints .serialization ().javaSerializationHints ()).isEmpty ();
70
70
}
71
71
}
72
72
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ void registerHintsWhenHttpSessionMissingThenDoNotRegisterHints() {
65
65
classUtilsMock .when (() -> ClassUtils .isPresent (eq ("jakarta.servlet.http.HttpSession" ), any ()))
66
66
.thenReturn (false );
67
67
this .httpSessionSecurityRuntimeHints .registerHints (this .hints , getClass ().getClassLoader ());
68
- assertThat (this .hints .serialization ().javaSerialization ()).isEmpty ();
68
+ assertThat (this .hints .serialization ().javaSerializationHints ()).isEmpty ();
69
69
}
70
70
}
71
71
@@ -76,7 +76,7 @@ void registerHintsWhenDefaultCsrfTokenMissingThenDoNotRegisterHints() {
76
76
() -> ClassUtils .isPresent (eq ("org.springframework.security.web.csrf.DefaultCsrfToken" ), any ()))
77
77
.thenReturn (false );
78
78
this .httpSessionSecurityRuntimeHints .registerHints (this .hints , getClass ().getClassLoader ());
79
- assertThat (this .hints .serialization ().javaSerialization ()).isEmpty ();
79
+ assertThat (this .hints .serialization ().javaSerializationHints ()).isEmpty ();
80
80
}
81
81
}
82
82
You can’t perform that action at this time.
0 commit comments