From 417c803a3fab5ff5819f1f01c4f0e81742f91bf4 Mon Sep 17 00:00:00 2001 From: Cy Okeke Date: Wed, 21 Jan 2026 21:03:41 +0100 Subject: [PATCH] fix the failing test --- test/Billing.Test/Services/SubscriptionUpdatedHandlerTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Billing.Test/Services/SubscriptionUpdatedHandlerTests.cs b/test/Billing.Test/Services/SubscriptionUpdatedHandlerTests.cs index 48531d2d67..555ea080d6 100644 --- a/test/Billing.Test/Services/SubscriptionUpdatedHandlerTests.cs +++ b/test/Billing.Test/Services/SubscriptionUpdatedHandlerTests.cs @@ -1276,6 +1276,7 @@ public class SubscriptionUpdatedHandlerTests var plan = new Enterprise2023Plan(true); _pricingClient.GetPlanOrThrow(organization.PlanType).Returns(plan); + _pricingClient.ListPlans().Returns([plan]); // Act await _sut.HandleAsync(parsedEvent); @@ -1400,6 +1401,7 @@ public class SubscriptionUpdatedHandlerTests var plan = new Enterprise2023Plan(true); _pricingClient.GetPlanOrThrow(organization.PlanType).Returns(plan); + _pricingClient.ListPlans().Returns([plan]); // Act await _sut.HandleAsync(parsedEvent);