test: align review approval status with ReadyToSend

This commit is contained in:
2026-03-15 23:43:16 -05:00
parent e764932c39
commit 1dc3c7ce07
+2 -2
View File
@@ -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 () => {