diff --git a/plans/plans.go b/plans/plans.go index af5208d..513bdc1 100644 --- a/plans/plans.go +++ b/plans/plans.go @@ -886,6 +886,7 @@ plans: alerts: true custom_domains: true sla: true + dedicated: true # Team gets dedicated infra like Growth (bug bash #12) # team_yearly mirrors team exactly. $1990/yr = $199 x 10 ("2 months free" vs $199 x 12). team_yearly: display_name: "Team (yearly)" @@ -920,6 +921,7 @@ plans: alerts: true custom_domains: true sla: true + dedicated: true # mirrors team (bug bash #12) growth: display_name: "Growth" price_monthly_cents: 9900 diff --git a/plans/plans_test.go b/plans/plans_test.go index 7a43d8e..329d29c 100644 --- a/plans/plans_test.go +++ b/plans/plans_test.go @@ -412,6 +412,8 @@ func TestRegistry_TierHelpers(t *testing.T) { assert.Equal(t, "Pro", r.DisplayName("pro")) assert.False(t, r.IsDedicatedTier("pro")) assert.True(t, r.IsDedicatedTier("growth")) + // bug bash #12: Team ($199, above Growth) also gets dedicated infra. + assert.True(t, r.IsDedicatedTier("team")) // W11: hobby_plus is the mid-tier — $19/mo, custom domains, 2 apps. assert.Equal(t, 1900, r.PriceMonthly("hobby_plus"), "hobby_plus monthly price must be $19/mo (1900 cents)")