Skip to content

Commit

Permalink
test: updated test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninad1306 committed Oct 10, 2024
1 parent e22ffbf commit bf90e30
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ def test_validate_property_setter_where_audit_trail_enabled_and_doc_is_protected
self,
):
frappe.db.set_single_value("Accounts Settings", "enable_audit_trail", 1)
frappe.db.delete(
"Property Setter",
{
"doctype_or_field": "DocType",
"doc_type": "Purchase Invoice",
"property": "track_changes",
},
)

doc = frappe.get_doc(
{
"doctype": "Property Setter",
Expand Down

0 comments on commit bf90e30

Please sign in to comment.