Skip to content

Commit 5aa605b

Browse files
jzheauxgithub-actions[bot]
authored andcommitted
Fix Unit Test
Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
1 parent 67e1d42 commit 5aa605b

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
@@ -521,7 +521,7 @@ void registerCredentialWhenBSInformsUserExperienceBSTrue() {
521521
* https://www.w3.org/TR/webauthn-3/#sctn-registering-a-new-credential
522522
*
523523
* 19. Verify that the "alg" parameter in the credential public key in authData
524-
* matches the alg attribute of one of the items in options.pubKeyCredParams.
524+
* matches the alg attribute of one of the items in pkOptions.pubKeyCredParams.
525525
*/
526526
@Test
527527
void registerCredentialWhenAlgDoesNotMatchOptions() {
@@ -536,7 +536,7 @@ void registerCredentialWhenAlgDoesNotMatchOptions() {
536536
options, new RelyingPartyPublicKey(publicKey, this.label));
537537

538538
assertThatRuntimeException().isThrownBy(() -> this.rpOperations.registerCredential(registrationRequest))
539-
.withMessageContaining("options.pubKeyCredParams");
539+
.withMessageContaining("pkOptions.pubKeyCredParams");
540540
}
541541

542542
/**

0 commit comments

Comments
 (0)