Skip to content

Commit

Permalink
Merge pull request #342 from onesteinbv/10_fix_hr_holidays_leave_auto…
Browse files Browse the repository at this point in the history
…_approve

[FIX][10.0] broken 10.0 build
  • Loading branch information
dreispt committed May 22, 2017
2 parents 53ce380 + c75b1f2 commit 8d6a3b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_leave_requests_state(self):
'name': 'Test Leave Request 1',
'holiday_status_id': self.test_leave_type1_id.id,
'date_from': today.strftime(DF),
'date_to': (today + timedelta(days=2)).strftime(DF),
'date_to': (today + timedelta(days=1)).strftime(DF),
'holiday_type': 'employee',
'employee_id': self.test_employee_id.id,
'type': 'remove',
Expand All @@ -82,7 +82,7 @@ def test_leave_requests_state(self):
leave2 = self.leave_request_model.create({
'name': 'Test Leave Request 2',
'holiday_status_id': self.test_leave_type2_id.id,
'date_from': (today + timedelta(days=4)).strftime(DF),
'date_from': (today + timedelta(days=5)).strftime(DF),
'date_to': (today + timedelta(days=8)).strftime(DF),
'holiday_type': 'employee',
'employee_id': self.test_employee_id.id,
Expand Down

0 comments on commit 8d6a3b7

Please sign in to comment.