Skip to content

Commit 12cb0ea

Browse files
committed
fix(tests): Timesheet tests
1 parent 8d45d5c commit 12cb0ea

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

erpnext/projects/doctype/timesheet/test_timesheet.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ def test_timesheet_time_overlap(self):
103103
{
104104
"billable": 1,
105105
"activity_type": "_Test Activity Type",
106-
"from_type": now_datetime(),
107-
"hours": 3,
106+
"from_time": now_datetime(),
107+
"to_time": now_datetime() + datetime.timedelta(hours=3),
108108
"company": "_Test Company"
109109
}
110110
)
@@ -113,8 +113,8 @@ def test_timesheet_time_overlap(self):
113113
{
114114
"billable": 1,
115115
"activity_type": "_Test Activity Type",
116-
"from_type": now_datetime(),
117-
"hours": 3,
116+
"from_time": now_datetime(),
117+
"to_time": now_datetime() + datetime.timedelta(hours=3),
118118
"company": "_Test Company"
119119
}
120120
)

0 commit comments

Comments
 (0)