diff --git a/test/Core.Test/Services/StripePaymentServiceTests.cs b/test/Core.Test/Services/StripePaymentServiceTests.cs index b33c048d75..a88cdd0559 100644 --- a/test/Core.Test/Services/StripePaymentServiceTests.cs +++ b/test/Core.Test/Services/StripePaymentServiceTests.cs @@ -151,7 +151,7 @@ namespace Bit.Core.Test.Services }); sutProvider.GetDependency().GetByLocationAsync(Arg.Is(t => t.Country == taxInfo.BillingAddressCountry && t.PostalCode == taxInfo.BillingAddressPostalCode)) - .Returns(new List{ new() { Id = "T-1"}}); + .Returns(new List { new() { Id = "T-1" } }); var result = await sutProvider.Sut.PurchaseOrganizationAsync(organization, PaymentMethodType.Card, paymentToken, plan, 0, 0, false, taxInfo); @@ -363,14 +363,14 @@ namespace Bit.Core.Test.Services }); stripeAdapter.InvoiceUpcomingAsync(default).ReturnsForAnyArgs(new Stripe.Invoice { - PaymentIntent = new Stripe.PaymentIntent {Status = "requires_payment_method",}, + PaymentIntent = new Stripe.PaymentIntent { Status = "requires_payment_method", }, AmountDue = 0 }); stripeAdapter.SubscriptionCreateAsync(default).ReturnsForAnyArgs(new Stripe.Subscription { }); var plan = StaticStore.Plans.First(p => p.Type == PlanType.EnterpriseAnnually); var result = await sutProvider.Sut.UpgradeFreeOrganizationAsync(organization, plan, 0, 0, false, taxInfo); - + Assert.Null(result); } }