diff --git a/test/Billing.Test/Services/SubscriptionUpdatedHandlerTests.cs b/test/Billing.Test/Services/SubscriptionUpdatedHandlerTests.cs index 555ea080d6..2dedef6f83 100644 --- a/test/Billing.Test/Services/SubscriptionUpdatedHandlerTests.cs +++ b/test/Billing.Test/Services/SubscriptionUpdatedHandlerTests.cs @@ -1276,7 +1276,7 @@ public class SubscriptionUpdatedHandlerTests var plan = new Enterprise2023Plan(true); _pricingClient.GetPlanOrThrow(organization.PlanType).Returns(plan); - _pricingClient.ListPlans().Returns([plan]); + _pricingClient.ListPlans().Returns(new List { plan }); // Act await _sut.HandleAsync(parsedEvent); @@ -1401,7 +1401,7 @@ public class SubscriptionUpdatedHandlerTests var plan = new Enterprise2023Plan(true); _pricingClient.GetPlanOrThrow(organization.PlanType).Returns(plan); - _pricingClient.ListPlans().Returns([plan]); + _pricingClient.ListPlans().Returns(new List { plan }); // Act await _sut.HandleAsync(parsedEvent);