mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
chore: cache clears on custom field and property setter creation/delete
This commit is contained in:
@@ -106,7 +106,6 @@ class TestQueries(ERPNextTestSuite):
|
||||
value=1,
|
||||
property_type="Check",
|
||||
)
|
||||
frappe.clear_cache(doctype="Payment Entry")
|
||||
|
||||
user = create_user("test_employee_query@example.com", "Accounts User", "HR User")
|
||||
add_user_permissions(
|
||||
@@ -137,7 +136,6 @@ class TestQueries(ERPNextTestSuite):
|
||||
self.assertGreater(len(result), 1)
|
||||
|
||||
ps.delete(ignore_permissions=1, force=1, delete_permanently=1)
|
||||
frappe.clear_cache(doctype="Payment Entry")
|
||||
|
||||
# only one employee should be returned even though ignore_user_permissions is passed as 1
|
||||
result = queries.employee_query(**params)
|
||||
|
||||
Reference in New Issue
Block a user