Skip to content

Commit 9c05447

Browse files
committed
Use Test Name Conventions
Issue spring-projectsgh-16385
1 parent 593f7c4 commit 9c05447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/test/java/org/springframework/security/web/webauthn/management/Webauthn4jRelyingPartyOperationsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ void createCredentialRequestOptionsThenUserVerificationSameAsCreation() {
537537
}
538538

539539
@Test
540-
void shouldReturnEmptyCredentialsWhenUserIsAnonymous() {
540+
void createCredentialRequestOptionsWhenAnonymousAuthentication() {
541541
AnonymousAuthenticationToken authentication = new AnonymousAuthenticationToken("key", "anonymousUser",
542542
Set.of(() -> "ROLE_ANONYMOUS"));
543543
PublicKeyCredentialRequestOptionsRequest createRequest = new ImmutablePublicKeyCredentialRequestOptionsRequest(
@@ -549,7 +549,7 @@ void shouldReturnEmptyCredentialsWhenUserIsAnonymous() {
549549
}
550550

551551
@Test
552-
void shouldReturnEmptyCredentialsWhenAnonymousUserIsDisabled() {
552+
void createCredentialRequestOptionsWhenNullAuthentication() {
553553
PublicKeyCredentialRequestOptionsRequest createRequest = new ImmutablePublicKeyCredentialRequestOptionsRequest(null);
554554
PublicKeyCredentialRequestOptions credentialRequestOptions = this.rpOperations
555555
.createCredentialRequestOptions(createRequest);

0 commit comments

Comments
 (0)