fix: test_client_insert_many
This commit is contained in:
parent
ce545c807d
commit
2e816ed68c
1 changed files with 2 additions and 2 deletions
|
|
@ -237,8 +237,8 @@ class TestClient(FrappeTestCase):
|
|||
docs = insert_many(doc_list)
|
||||
|
||||
self.assertEqual(len(docs), 7)
|
||||
self.assertEqual(docs[3], "not-a-random-title")
|
||||
self.assertEqual(docs[6], "another-note-title")
|
||||
self.assertEqual(frappe.db.get_value("Note", docs[3], "title"), "not-a-random-title")
|
||||
self.assertEqual(frappe.db.get_value("Note", docs[6], "title"), "another-note-title")
|
||||
self.assertIn(note1.name, docs)
|
||||
|
||||
# cleanup
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue