mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
fix: broken webauthn controller tests (#3421)
This commit is contained in:
parent
f29d3e79a5
commit
35500b197d
@ -142,7 +142,7 @@ public class WebAuthnControllerTests
|
||||
.GetUserByPrincipalAsync(default)
|
||||
.ReturnsForAnyArgs(user);
|
||||
sutProvider.GetDependency<IUserService>()
|
||||
.CompleteWebAuthLoginRegistrationAsync(user, requestModel.Name, createOptions, Arg.Any<AuthenticatorAttestationRawResponse>())
|
||||
.CompleteWebAuthLoginRegistrationAsync(user, requestModel.Name, createOptions, Arg.Any<AuthenticatorAttestationRawResponse>(), false)
|
||||
.Returns(true);
|
||||
sutProvider.GetDependency<IDataProtectorTokenFactory<WebAuthnCredentialCreateOptionsTokenable>>()
|
||||
.Unprotect(requestModel.Token)
|
||||
|
Loading…
Reference in New Issue
Block a user