From ba05d49a6bf84ce3ca616ca929ee8451a0859437 Mon Sep 17 00:00:00 2001 From: Cy Okeke Date: Wed, 21 Jan 2026 21:26:27 +0100 Subject: [PATCH] Fix the failing test --- test/Billing.Test/Services/SubscriptionUpdatedHandlerTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);