commit | 1aa8c2ecc4d14312248fc805101e6a92ce5801f6 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Thu Mar 26 13:15:31 2020 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Thu Mar 26 13:15:31 2020 +0530 |
tree | cfefeeb38e93ba2d220fef4972b2625d3ba79193 | |
parent | ced6898fd72687827b3035f8aec8889b42759ff7 [diff] |
fix: delete contact email and phone along with contact
diff --git a/erpnext/tests/utils.py b/erpnext/tests/utils.py index dfd3ed7..16ecd51 100644 --- a/erpnext/tests/utils.py +++ b/erpnext/tests/utils.py
@@ -7,6 +7,8 @@ def create_test_contact_and_address(): frappe.db.sql('delete from tabContact') + frappe.db.sql('delete from `tabContact Email`') + frappe.db.sql('delete from `tabContact Phone`') frappe.db.sql('delete from tabAddress') frappe.db.sql('delete from `tabDynamic Link`')