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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user