@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
/ *
* Copyright 2002 - 2024 the original author or authors .
* Copyright 2002 - 2025 the original author or authors .
*
* Licensed under the Apache License , Version 2 . 0 ( the "License" ) ;
* you may not use this file except in compliance with the License .
@ -72,21 +72,21 @@ class WebTestUtilsRuntimeHintsTests {
@@ -72,21 +72,21 @@ class WebTestUtilsRuntimeHintsTests {
void csrfFilterHasHints ( ) {
assertThat ( RuntimeHintsPredicates . reflection ( )
. onType ( CsrfFilter . class )
. withMemberCategories ( MemberCategory . DECLARED_FIELDS ) ) . accepts ( this . hints ) ;
. withMemberCategories ( MemberCategory . ACCESS_ DECLARED_FIELDS) ) . accepts ( this . hints ) ;
}
@Test
void securityContextPersistenceFilterHasHints ( ) {
assertThat ( RuntimeHintsPredicates . reflection ( )
. onType ( SecurityContextPersistenceFilter . class )
. withMemberCategories ( MemberCategory . DECLARED_FIELDS ) ) . accepts ( this . hints ) ;
. withMemberCategories ( MemberCategory . ACCESS_ DECLARED_FIELDS) ) . accepts ( this . hints ) ;
}
@Test
void securityContextHolderFilterHasHints ( ) {
assertThat ( RuntimeHintsPredicates . reflection ( )
. onType ( SecurityContextHolderFilter . class )
. withMemberCategories ( MemberCategory . DECLARED_FIELDS ) ) . accepts ( this . hints ) ;
. withMemberCategories ( MemberCategory . ACCESS_ DECLARED_FIELDS) ) . accepts ( this . hints ) ;
}
}