From 1dc3c7ce07ec3e23eef69e58902e074442b27f71 Mon Sep 17 00:00:00 2001 From: Jackson Roberts Date: Sun, 15 Mar 2026 23:43:16 -0500 Subject: [PATCH] test: align review approval status with ReadyToSend --- tests/unit/wfOpportunity.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/wfOpportunity.test.ts b/tests/unit/wfOpportunity.test.ts index 2641ec9..bcef621 100644 --- a/tests/unit/wfOpportunity.test.ts +++ b/tests/unit/wfOpportunity.test.ts @@ -333,7 +333,7 @@ describe("transitionToInternalReview", () => { // ═══════════════════════════════════════════════════════════════════════════ describe("handleReviewDecision", () => { - test("approve → PendingSent", async () => { + test("approve → ReadyToSend", async () => { const opp = makeOpportunity({ statusCwId: OpportunityStatus.InternalReview, }); @@ -342,7 +342,7 @@ describe("handleReviewDecision", () => { note: "Looks good", }); expect(result.success).toBe(true); - expect(result.newStatusId).toBe(OpportunityStatus.PendingSent); + expect(result.newStatusId).toBe(OpportunityStatus.ReadyToSend); }); test("reject → PendingRevision", async () => {