File tree 1 file changed +2
-2
lines changed
config/src/test/java/org/springframework/security
1 file changed +2
-2
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 .Bytes ;
128
129
import org .springframework .security .web .webauthn .api .PublicKeyCredentialUserEntity ;
129
130
import org .springframework .security .web .webauthn .api .TestPublicKeyCredentialUserEntity ;
130
131
@@ -323,8 +324,7 @@ class SpringSecurityCoreVersionSerializableTests {
323
324
token .setDetails (details );
324
325
return token ;
325
326
});
326
- generatorByClassName .put (PublicKeyCredentialUserEntity .class ,
327
- (r ) -> TestPublicKeyCredentialUserEntity .userEntity ().build ());
327
+ generatorByClassName .put (Bytes .class , (r ) -> Bytes .random ());
328
328
}
329
329
330
330
@ ParameterizedTest
You can’t perform that action at this time.
0 commit comments