mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00: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):
|
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)
|
company.insert(ignore_if_duplicate=True)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user