Skip to content

Commit 63cd037

Browse files
committed
Fix Unit Test
Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
1 parent d3e349c commit 63cd037

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

webauthn/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
@@ -488,7 +488,7 @@ void registerCredentialWhenBSInformsUserExperienceBSTrue() {
488488
* https://www.w3.org/TR/webauthn-3/#sctn-registering-a-new-credential
489489
*
490490
* 19. Verify that the "alg" parameter in the credential public key in authData
491-
* matches the alg attribute of one of the items in options.pubKeyCredParams.
491+
* matches the alg attribute of one of the items in pkOptions.pubKeyCredParams.
492492
*/
493493
@Test
494494
void registerCredentialWhenAlgDoesNotMatchOptions() {
@@ -503,7 +503,7 @@ void registerCredentialWhenAlgDoesNotMatchOptions() {
503503
options, new RelyingPartyPublicKey(publicKey, this.label));
504504

505505
assertThatRuntimeException().isThrownBy(() -> this.rpOperations.registerCredential(registrationRequest))
506-
.withMessageContaining("options.pubKeyCredParams");
506+
.withMessageContaining("pkOptions.pubKeyCredParams");
507507
}
508508

509509
/**

0 commit comments

Comments
 (0)