1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

Fix broken unit tests (#816)

This commit is contained in:
Chad Scharf
2020-07-08 15:05:24 -04:00
committed by GitHub
parent d0d93a64ee
commit 5ecdc77d3f
2 changed files with 7 additions and 2 deletions

View File

@ -38,6 +38,7 @@ namespace Bit.Core.Test.Services
private readonly IDataProtectionProvider _dataProtectionProvider;
private readonly IPaymentService _paymentService;
private readonly IPolicyRepository _policyRepository;
private readonly IReferenceEventService _referenceEventService;
private readonly CurrentContext _currentContext;
private readonly GlobalSettings _globalSettings;
@ -65,6 +66,7 @@ namespace Bit.Core.Test.Services
_dataProtectionProvider = Substitute.For<IDataProtectionProvider>();
_paymentService = Substitute.For<IPaymentService>();
_policyRepository = Substitute.For<IPolicyRepository>();
_referenceEventService = Substitute.For<IReferenceEventService>();
_currentContext = new CurrentContext();
_globalSettings = new GlobalSettings();
@ -91,6 +93,7 @@ namespace Bit.Core.Test.Services
_dataProtectionProvider,
_paymentService,
_policyRepository,
_referenceEventService,
_currentContext,
_globalSettings
);