diff --git a/frappe/tests/test_document.py b/frappe/tests/test_document.py index 38f081343a..6409195f92 100644 --- a/frappe/tests/test_document.py +++ b/frappe/tests/test_document.py @@ -312,7 +312,7 @@ class TestDocument(unittest.TestCase): {"role": "System Manager", "read": 1} ], }) - doc.save() + doc.insert() # check if module exists exists; # if custom, get_controller will return Document class # if not custom, a different class will be returned