test(opportunity-flow): align legacy quote stages with CREATE_QUOTE
This commit is contained in:
@@ -33,6 +33,7 @@ def test_pending_send_quote_task_is_not_sent_evidence():
|
||||
def test_quote_sent_without_document_requires_reconciliation():
|
||||
evidence = OpportunityEvidence(
|
||||
opportunity_id="opp-1",
|
||||
stage="QUOTE_SENT",
|
||||
has_fiscal_customer=True,
|
||||
fiscal_identity_validated=True,
|
||||
fiscal_data_complete=True,
|
||||
@@ -48,12 +49,13 @@ def test_quote_sent_without_document_requires_reconciliation():
|
||||
def test_no_quote_evidence_still_creates_quote():
|
||||
evidence = OpportunityEvidence(
|
||||
opportunity_id="opp-2",
|
||||
stage="QUOTE_REQUESTED",
|
||||
has_fiscal_customer=True,
|
||||
fiscal_identity_validated=True,
|
||||
fiscal_data_complete=True,
|
||||
)
|
||||
decision = decide_blif_next_action(evidence, load_company_profile("blif"))
|
||||
assert decision.next_action.code == "CREATE_JASMIN_QUOTE"
|
||||
assert decision.next_action.code == "CREATE_QUOTE"
|
||||
|
||||
|
||||
def test_send_proforma_policy_schedules_payment_followup():
|
||||
|
||||
Reference in New Issue
Block a user