mirror of
https://github.com/bitwarden/server.git
synced 2025-06-20 10:58:07 -05:00
Fix test
This commit is contained in:
parent
cb9ff16f5a
commit
5444878f84
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user