From 35500b197d227f10729380dc707506eefc8597cb Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Wed, 8 Nov 2023 14:38:54 +0100 Subject: [PATCH] fix: broken webauthn controller tests (#3421) --- test/Api.Test/Auth/Controllers/WebAuthnControllerTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Api.Test/Auth/Controllers/WebAuthnControllerTests.cs b/test/Api.Test/Auth/Controllers/WebAuthnControllerTests.cs index 23908c334..26265f5c4 100644 --- a/test/Api.Test/Auth/Controllers/WebAuthnControllerTests.cs +++ b/test/Api.Test/Auth/Controllers/WebAuthnControllerTests.cs @@ -142,7 +142,7 @@ public class WebAuthnControllerTests .GetUserByPrincipalAsync(default) .ReturnsForAnyArgs(user); sutProvider.GetDependency() - .CompleteWebAuthLoginRegistrationAsync(user, requestModel.Name, createOptions, Arg.Any()) + .CompleteWebAuthLoginRegistrationAsync(user, requestModel.Name, createOptions, Arg.Any(), false) .Returns(true); sutProvider.GetDependency>() .Unprotect(requestModel.Token)