From 3864308c6d727c3f5fc7439c4caed53d4f2de026 Mon Sep 17 00:00:00 2001 From: Stephon Brown Date: Wed, 4 Feb 2026 15:26:39 -0500 Subject: [PATCH] Remove obsolete `planSelectionStepTitleOverride` tests --- ...emium-org-upgrade-dialog.component.spec.ts | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/apps/web/src/app/billing/individual/upgrade/premium-org-upgrade-dialog/premium-org-upgrade-dialog.component.spec.ts b/apps/web/src/app/billing/individual/upgrade/premium-org-upgrade-dialog/premium-org-upgrade-dialog.component.spec.ts index a44f2eece7a..f0ada3b632b 100644 --- a/apps/web/src/app/billing/individual/upgrade/premium-org-upgrade-dialog/premium-org-upgrade-dialog.component.spec.ts +++ b/apps/web/src/app/billing/individual/upgrade/premium-org-upgrade-dialog/premium-org-upgrade-dialog.component.spec.ts @@ -171,7 +171,6 @@ describe("PremiumOrgUpgradeDialogComponent", () => { expect(component["step"]()).toBe(PremiumOrgUpgradeDialogStep.PlanSelection); expect(component["selectedPlan"]()).toBeNull(); expect(component["account"]()).toEqual(mockAccount); - expect(component["planSelectionStepTitleOverride"]()).toBeNull(); }); it("should initialize with custom initial step", async () => { @@ -187,25 +186,6 @@ describe("PremiumOrgUpgradeDialogComponent", () => { expect(customComponent["selectedPlan"]()).toBe("teams"); }); - describe("custom dialog title", () => { - it("should use null as default when no override is provided", () => { - expect(component["planSelectionStepTitleOverride"]()).toBeNull(); - }); - - it("should use custom title when provided in dialog config", async () => { - const customDialogData: PremiumOrgUpgradeDialogParams = { - account: mockAccount, - initialStep: PremiumOrgUpgradeDialogStep.PlanSelection, - selectedPlan: null, - planSelectionStepTitleOverride: "upgradeYourPlan", - }; - - const { component: customComponent } = await createComponentWithDialogData(customDialogData); - - expect(customComponent["planSelectionStepTitleOverride"]()).toBe("upgradeYourPlan"); - }); - }); - describe("onPlanSelected", () => { it("should set selected plan and move to payment step", () => { component["onPlanSelected"]("teams" as BusinessSubscriptionPricingTierId);