mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 01:14:46 +00:00
refactor(test): flaky test in lead
This commit is contained in:
@@ -125,6 +125,7 @@ class TestLead(ERPNextTestSuite):
|
|||||||
create_todo("followup", "Lead", lead.name)
|
create_todo("followup", "Lead", lead.name)
|
||||||
|
|
||||||
opportunity = make_opportunity(lead.name)
|
opportunity = make_opportunity(lead.name)
|
||||||
|
opportunity.company = self.companies[0].name
|
||||||
opportunity.save()
|
opportunity.save()
|
||||||
|
|
||||||
self.assertEqual(opportunity.get("party_name"), lead.name)
|
self.assertEqual(opportunity.get("party_name"), lead.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user