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);