diff --git a/test/Core.Test/Services/OrganizationServiceTests.cs b/test/Core.Test/Services/OrganizationServiceTests.cs index a185c7b6fa..45ea890922 100644 --- a/test/Core.Test/Services/OrganizationServiceTests.cs +++ b/test/Core.Test/Services/OrganizationServiceTests.cs @@ -32,12 +32,13 @@ namespace Bit.Core.Test.Services var appCacheService = Substitute.For(); var paymentService = Substitute.For(); var policyRepo = Substitute.For(); + var referenceEventService = Substitute.For(); var globalSettings = Substitute.For(); var orgService = new OrganizationService(orgRepo, orgUserRepo, collectionRepo, userRepo, groupRepo, dataProtector, mailService, pushNotService, pushRegService, deviceRepo, licenseService, eventService, installationRepo, appCacheService, paymentService, policyRepo, - globalSettings); + referenceEventService, globalSettings); var id = Guid.NewGuid(); var userId = Guid.NewGuid(); @@ -90,12 +91,13 @@ namespace Bit.Core.Test.Services var appCacheService = Substitute.For(); var paymentService = Substitute.For(); var policyRepo = Substitute.For(); + var referenceEventService = Substitute.For(); var globalSettings = Substitute.For(); var orgService = new OrganizationService(orgRepo, orgUserRepo, collectionRepo, userRepo, groupRepo, dataProtector, mailService, pushNotService, pushRegService, deviceRepo, licenseService, eventService, installationRepo, appCacheService, paymentService, policyRepo, - globalSettings); + referenceEventService, globalSettings); var id = Guid.NewGuid(); var userId = Guid.NewGuid(); diff --git a/test/Core.Test/Services/UserServiceTests.cs b/test/Core.Test/Services/UserServiceTests.cs index 02bb9b3264..36cc211cbe 100644 --- a/test/Core.Test/Services/UserServiceTests.cs +++ b/test/Core.Test/Services/UserServiceTests.cs @@ -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(); _paymentService = Substitute.For(); _policyRepository = Substitute.For(); + _referenceEventService = Substitute.For(); _currentContext = new CurrentContext(); _globalSettings = new GlobalSettings(); @@ -91,6 +93,7 @@ namespace Bit.Core.Test.Services _dataProtectionProvider, _paymentService, _policyRepository, + _referenceEventService, _currentContext, _globalSettings );