chore(test): use existing company for unit test

This commit is contained in:
ruthra kumar 2023-07-27 09:30:38 +05:30
parent d9d6856153
commit 804afaa647

View File

@ -68,8 +68,8 @@ class TestAccountsController(FrappeTestCase):
frappe.db.rollback()
def create_company(self):
company_name = "_Test Company MC"
self.company_abbr = abbr = "_CM"
company_name = "_Test Company"
self.company_abbr = abbr = "_TC"
if frappe.db.exists("Company", company_name):
company = frappe.get_doc("Company", company_name)
else: