chore: cache clears on custom field and property setter creation/delete

This commit is contained in:
ljain112
2025-06-24 15:19:40 +05:30
parent 1e4fc043a8
commit 7bc88ffe0e
2 changed files with 0 additions and 10 deletions

View File

@@ -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)