mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 13:42:10 +01:00
refactor(test): make transaction deletion record deterministic
This commit is contained in:
@@ -385,7 +385,9 @@ class TestTransactionDeletionRecord(ERPNextTestSuite):
|
||||
|
||||
|
||||
def create_company(company_name):
|
||||
company = frappe.get_doc({"doctype": "Company", "company_name": company_name, "default_currency": "INR"})
|
||||
company = frappe.get_doc(
|
||||
{"doctype": "Company", "company_name": company_name, "default_currency": "INR", "country": "India"}
|
||||
)
|
||||
company.insert(ignore_if_duplicate=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user