1
0
mirror of https://github.com/bitwarden/server synced 2026-01-25 13:53:33 +00:00

Fix the failing test

This commit is contained in:
Cy Okeke
2026-01-21 21:26:27 +01:00
parent 417c803a3f
commit ba05d49a6b

View File

@@ -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<Core.Models.StaticStore.Plan> { 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<Core.Models.StaticStore.Plan> { plan });
// Act
await _sut.HandleAsync(parsedEvent);