mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-22 03:52:15 +00:00
Use Test Name Conventions
Issue gh-16385
This commit is contained in:
parent
593f7c4490
commit
9c054474a8
@ -537,7 +537,7 @@ class Webauthn4jRelyingPartyOperationsTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void shouldReturnEmptyCredentialsWhenUserIsAnonymous() {
|
||||
void createCredentialRequestOptionsWhenAnonymousAuthentication() {
|
||||
AnonymousAuthenticationToken authentication = new AnonymousAuthenticationToken("key", "anonymousUser",
|
||||
Set.of(() -> "ROLE_ANONYMOUS"));
|
||||
PublicKeyCredentialRequestOptionsRequest createRequest = new ImmutablePublicKeyCredentialRequestOptionsRequest(
|
||||
@ -549,7 +549,7 @@ class Webauthn4jRelyingPartyOperationsTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void shouldReturnEmptyCredentialsWhenAnonymousUserIsDisabled() {
|
||||
void createCredentialRequestOptionsWhenNullAuthentication() {
|
||||
PublicKeyCredentialRequestOptionsRequest createRequest = new ImmutablePublicKeyCredentialRequestOptionsRequest(null);
|
||||
PublicKeyCredentialRequestOptions credentialRequestOptions = this.rpOperations
|
||||
.createCredentialRequestOptions(createRequest);
|
||||
|
Loading…
x
Reference in New Issue
Block a user