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 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 .PublicKeyCredentialUserEntity ;
129- import org .springframework .security .web .webauthn .api .TestPublicKeyCredentialUserEntity ;
128+ import org .springframework .security .web .webauthn .api .Bytes ;
130129
131130import static org .assertj .core .api .Assertions .assertThat ;
132131import static org .assertj .core .api .Assertions .fail ;
@@ -323,8 +322,7 @@ class SpringSecurityCoreVersionSerializableTests {
323322 token .setDetails (details );
324323 return token ;
325324 });
326- generatorByClassName .put (PublicKeyCredentialUserEntity .class ,
327- (r ) -> TestPublicKeyCredentialUserEntity .userEntity ().build ());
325+ generatorByClassName .put (Bytes .class , (r ) -> Bytes .random ());
328326 }
329327
330328 @ ParameterizedTest
You can’t perform that action at this time.
0 commit comments