1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 05:00:19 -05:00

fix tests

This commit is contained in:
Kyle Spearrin 2020-02-20 14:36:31 -05:00
parent 81424a8526
commit 462303e701

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using Bit.Core.Models.Table;
using Bit.Core.Repositories;
@ -37,6 +37,7 @@ namespace Bit.Core.Test.Services
private readonly IApplicationCacheService _applicationCacheService;
private readonly IDataProtectionProvider _dataProtectionProvider;
private readonly IPaymentService _paymentService;
private readonly IPolicyRepository _policyRepository;
private readonly CurrentContext _currentContext;
private readonly GlobalSettings _globalSettings;
@ -63,6 +64,7 @@ namespace Bit.Core.Test.Services
_applicationCacheService = Substitute.For<IApplicationCacheService>();
_dataProtectionProvider = Substitute.For<IDataProtectionProvider>();
_paymentService = Substitute.For<IPaymentService>();
_policyRepository = Substitute.For<IPolicyRepository>();
_currentContext = new CurrentContext();
_globalSettings = new GlobalSettings();
@ -88,6 +90,7 @@ namespace Bit.Core.Test.Services
_applicationCacheService,
_dataProtectionProvider,
_paymentService,
_policyRepository,
_currentContext,
_globalSettings
);