mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-02 08:03:21 +00:00
frappe/frappe#478 replaced doclist in testcases
This commit is contained in:
@@ -17,7 +17,7 @@ class TimeLogBatchTest(unittest.TestCase):
|
||||
|
||||
self.assertEquals(frappe.db.get_value("Time Log", time_log.name, "status"), "Submitted")
|
||||
tlb = frappe.copy_doc(test_records[0])
|
||||
tlb.doclist[1].time_log = time_log.name
|
||||
tlb["time_log_batch_details"][0].time_log = time_log.name
|
||||
tlb.insert()
|
||||
tlb.submit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user