mirror of
https://github.com/bitwarden/server
synced 2025-12-25 12:43:14 +00:00
* Remove feature flag and move StaticStore plans to MockPlans for tests * Remove old plan models / move sponsored plans out of StaticStore * Run dotnet format * Add pricing URI to Development appsettings for local development and integration tests * Updated Api Integration tests to get current plan type * Run dotnet format * Fix failing tests
22 lines
480 B
C#
22 lines
480 B
C#
using Bit.Core.Billing.Enums;
|
|
using Bit.Core.Models.StaticStore;
|
|
|
|
namespace Bit.Core.Test.Billing.Mocks.Plans;
|
|
|
|
public record CustomPlan : Plan
|
|
{
|
|
public CustomPlan()
|
|
{
|
|
Type = PlanType.Custom;
|
|
PasswordManager = new CustomPasswordManagerFeatures();
|
|
}
|
|
|
|
private record CustomPasswordManagerFeatures : PasswordManagerPlanFeatures
|
|
{
|
|
public CustomPasswordManagerFeatures()
|
|
{
|
|
AllowSeatAutoscale = true;
|
|
}
|
|
}
|
|
}
|