1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-20 10:58:07 -05:00
This commit is contained in:
Bernd Schoolmann 2025-06-05 19:02:00 +02:00
parent cb9ff16f5a
commit 5444878f84
No known key found for this signature in database

View File

@ -304,6 +304,12 @@ public class SyncControllerTests
twoFactorIsEnabledQuery.TwoFactorIsEnabledAsync(user).Returns(false); twoFactorIsEnabledQuery.TwoFactorIsEnabledAsync(user).Returns(false);
userService.HasPremiumFromOrganization(user).Returns(false); userService.HasPremiumFromOrganization(user).Returns(false);
userAccountKeysQuery.Run(user).Returns(new UserAccountKeysData
{
PublicKeyEncryptionKeyPairData = user.GetPublicKeyEncryptionKeyPair(),
SignatureKeyPairData = null,
});
// Execute GET // Execute GET
var result = await sutProvider.Sut.Get(); var result = await sutProvider.Sut.Get();