File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
config/src/test/java/org/springframework/security Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 125125import org .springframework .security .saml2 .provider .service .authentication .TestSaml2RedirectAuthenticationRequests ;
126126import org .springframework .security .web .authentication .WebAuthenticationDetails ;
127127import org .springframework .security .web .authentication .preauth .PreAuthenticatedAuthenticationToken ;
128+ import org .springframework .security .web .webauthn .api .Bytes ;
128129import org .springframework .security .web .webauthn .api .PublicKeyCredentialUserEntity ;
129130import org .springframework .security .web .webauthn .api .TestPublicKeyCredentialUserEntity ;
130131
@@ -323,8 +324,7 @@ class SpringSecurityCoreVersionSerializableTests {
323324 token .setDetails (details );
324325 return token ;
325326 });
326- generatorByClassName .put (PublicKeyCredentialUserEntity .class ,
327- (r ) -> TestPublicKeyCredentialUserEntity .userEntity ().build ());
327+ generatorByClassName .put (Bytes .class , (r ) -> Bytes .random ());
328328 }
329329
330330 @ ParameterizedTest
You can’t perform that action at this time.
0 commit comments