chore(test): use existing company for unit test
This commit is contained in:
parent
d9d6856153
commit
804afaa647
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user