Skip to content

Commit

Permalink
fix: v14 compat role
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Apr 30, 2024
1 parent 5b49ec5 commit f9c8227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/tests/test_permissions.py
Expand Up @@ -721,7 +721,7 @@ def test_get_doctypes_with_read(self):

def test_overrides_work_as_expected(self):
"""custom docperms should completely override standard ones"""
standard_role = "Desk User"
standard_role = "_Test Role"
custom_role = frappe.get_doc(doctype="Role", role_name=frappe.generate_hash()).insert().name
with self.set_user("Administrator"):
doctype = new_doctype(permissions=[{"role": standard_role, "read": 1}]).insert().name
Expand Down

0 comments on commit f9c8227

Please sign in to comment.