mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
This commit is contained in:
@@ -8,7 +8,7 @@ from erpnext.projects.doctype.time_log.time_log import OverlapError
|
||||
|
||||
class TestTimeLog(unittest.TestCase):
|
||||
def test_duplication(self):
|
||||
ts = frappe.bean(frappe.copy_doclist(test_records[0]))
|
||||
ts = frappe.bean(frappe.copy_doc(test_records[0]))
|
||||
self.assertRaises(OverlapError, ts.insert)
|
||||
|
||||
test_records = [[{
|
||||
|
||||
Reference in New Issue
Block a user