From 3223ceb9a8739c04b3a0178200be94cd61cd41d0 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Wed, 7 Feb 2024 10:58:08 +0100 Subject: [PATCH] [PM-5731] fix: failing test --- .../Core.Test/Services/Fido2AuthenticatorGetAssertionTests.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Core.Test/Services/Fido2AuthenticatorGetAssertionTests.cs b/test/Core.Test/Services/Fido2AuthenticatorGetAssertionTests.cs index 26ccdefc6..68eff0023 100644 --- a/test/Core.Test/Services/Fido2AuthenticatorGetAssertionTests.cs +++ b/test/Core.Test/Services/Fido2AuthenticatorGetAssertionTests.cs @@ -141,6 +141,10 @@ namespace Bit.Core.Test.Services public async Task GetAssertionAsync_RequestsUserVerification_ParamsRequireUserVerification() { // Arrange _params.RequireUserVerification = true; + _sutProvider.GetDependency().PickCredentialAsync(Arg.Any()).Returns(new Fido2PickCredentialResult { + CipherId = _ciphers[0].Id, + UserVerified = true + }); // Act await _sutProvider.Sut.GetAssertionAsync(_params);