test: Use insert instead of save
This commit is contained in:
parent
50f6f83912
commit
5ba92a3ae1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue