From 107b4055604ee99fa53ee78522ee0a9bb0a21855 Mon Sep 17 00:00:00 2001 From: Anupam Date: Tue, 21 Dec 2021 13:35:15 +0530 Subject: [PATCH] fix: test case --- erpnext/crm/doctype/opportunity/test_opportunity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/crm/doctype/opportunity/test_opportunity.py b/erpnext/crm/doctype/opportunity/test_opportunity.py index be5e5a21a0..2611e555bd 100644 --- a/erpnext/crm/doctype/opportunity/test_opportunity.py +++ b/erpnext/crm/doctype/opportunity/test_opportunity.py @@ -50,7 +50,7 @@ class TestOpportunity(unittest.TestCase): contact.insert(ignore_permissions=True) self.assertTrue(opp_doc.party_name) - self.assertEqual(opp_doc.opportunity_from, "Customer") + self.assertEqual(opp_doc.opportunity_from, "Lead") self.assertEqual(opp_doc.party_name, customer.name) def test_opportunity_item(self):