Save domain settings to create related custom fields for already enabled domain (#4378)
* Save domain settings to create related custom fields for already enabled domain * Remove all domains from active domains after running test cases
This commit is contained in:
parent
39d831bc23
commit
80c63bb226
2 changed files with 3 additions and 1 deletions
|
|
@ -194,4 +194,5 @@ frappe.patches.v8_x.update_user_permission
|
|||
frappe.patches.v8_5.patch_event_colors
|
||||
frappe.patches.v8_10.delete_static_web_page_from_global_search
|
||||
frappe.patches.v8_x.add_bgn_xaf_xof_currencies
|
||||
frappe.patches.v9_1.add_sms_sender_name_as_parameters
|
||||
frappe.patches.v9_1.add_sms_sender_name_as_parameters
|
||||
execute:frappe.get_single('Domain Settings').save()
|
||||
|
|
@ -23,6 +23,7 @@ class TestDomainification(unittest.TestCase):
|
|||
frappe.db.sql("delete from `tabHas Role` where role='_Test Role'")
|
||||
frappe.db.sql("delete from tabDomain where name in ('_Test Domain 1', '_Test Domain 2')")
|
||||
frappe.delete_doc('DocType', 'Test Domainification')
|
||||
self.remove_from_active_domains(remove_all=True)
|
||||
|
||||
def add_active_domain(self, domain):
|
||||
""" add domain in active domain """
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue