mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-04-22 00:41:20 +00:00
Fix Unit Test
Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
This commit is contained in:
parent
67e1d42b76
commit
5aa605b45a
@ -521,7 +521,7 @@ class Webauthn4jRelyingPartyOperationsTests {
|
||||
* https://www.w3.org/TR/webauthn-3/#sctn-registering-a-new-credential
|
||||
*
|
||||
* 19. Verify that the "alg" parameter in the credential public key in authData
|
||||
* matches the alg attribute of one of the items in options.pubKeyCredParams.
|
||||
* matches the alg attribute of one of the items in pkOptions.pubKeyCredParams.
|
||||
*/
|
||||
@Test
|
||||
void registerCredentialWhenAlgDoesNotMatchOptions() {
|
||||
@ -536,7 +536,7 @@ class Webauthn4jRelyingPartyOperationsTests {
|
||||
options, new RelyingPartyPublicKey(publicKey, this.label));
|
||||
|
||||
assertThatRuntimeException().isThrownBy(() -> this.rpOperations.registerCredential(registrationRequest))
|
||||
.withMessageContaining("options.pubKeyCredParams");
|
||||
.withMessageContaining("pkOptions.pubKeyCredParams");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user