From 0bc034f6206b6f4049dae95bdb0b87f53c431c5d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 20 Sep 2019 08:04:05 -0400 Subject: [PATCH] fix ctor for stripe payment service test --- test/Core.Test/Services/StripePaymentServiceTests.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/Core.Test/Services/StripePaymentServiceTests.cs b/test/Core.Test/Services/StripePaymentServiceTests.cs index 4b2ccef18b..2fe1d58e14 100644 --- a/test/Core.Test/Services/StripePaymentServiceTests.cs +++ b/test/Core.Test/Services/StripePaymentServiceTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using Bit.Core.Repositories; using Bit.Core.Services; using Microsoft.Extensions.Logging; @@ -12,18 +12,24 @@ namespace Bit.Core.Test.Services private readonly StripePaymentService _sut; private readonly ITransactionRepository _transactionRepository; + private readonly IUserRepository _userRepository; + private readonly IAppleIapService _appleIapService; private readonly GlobalSettings _globalSettings; private readonly ILogger _logger; public StripePaymentServiceTests() { _transactionRepository = Substitute.For(); + _userRepository = Substitute.For(); + _appleIapService = Substitute.For(); _globalSettings = new GlobalSettings(); _logger = Substitute.For>(); _sut = new StripePaymentService( _transactionRepository, + _userRepository, _globalSettings, + _appleIapService, _logger ); }