File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
config/src/test/java/org/springframework/security Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 125
125
import org .springframework .security .saml2 .provider .service .authentication .TestSaml2RedirectAuthenticationRequests ;
126
126
import org .springframework .security .web .authentication .WebAuthenticationDetails ;
127
127
import org .springframework .security .web .authentication .preauth .PreAuthenticatedAuthenticationToken ;
128
- import org .springframework .security .web .webauthn .api .PublicKeyCredentialUserEntity ;
129
- import org .springframework .security .web .webauthn .api .TestPublicKeyCredentialUserEntity ;
128
+ import org .springframework .security .web .webauthn .api .Bytes ;
130
129
131
130
import static org .assertj .core .api .Assertions .assertThat ;
132
131
import static org .assertj .core .api .Assertions .fail ;
@@ -323,8 +322,7 @@ class SpringSecurityCoreVersionSerializableTests {
323
322
token .setDetails (details );
324
323
return token ;
325
324
});
326
- generatorByClassName .put (PublicKeyCredentialUserEntity .class ,
327
- (r ) -> TestPublicKeyCredentialUserEntity .userEntity ().build ());
325
+ generatorByClassName .put (Bytes .class , (r ) -> Bytes .random ());
328
326
}
329
327
330
328
@ ParameterizedTest
You can’t perform that action at this time.
0 commit comments