Skip to content

Commit

Permalink
[FIX] hr_holidays_leave_auto_approve: Force the tests to work on monday
Browse files Browse the repository at this point in the history
  • Loading branch information
etobella committed Oct 28, 2023
1 parent 13f2713 commit 843d0c8
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_leave_requests_state(self):
"name": "Test Leave Request 1",
"holiday_status_id": self.test_leave_type1_id.id,
"date_from": today,
"date_to": today + timedelta(days=1),
"date_to": today + timedelta(days=3),
"holiday_type": "employee",
"employee_id": self.test_employee_id.id,
}
Expand Down Expand Up @@ -110,7 +110,7 @@ def test_leave_requests_state_employee_user(self):
"name": "Test Leave Request 1",
"holiday_status_id": self.test_leave_type1_id.id,
"date_from": today + timedelta(days=10),
"date_to": today + timedelta(days=12),
"date_to": today + timedelta(days=13),
"holiday_type": "employee",
"employee_id": self.test_employee_id.id,
}
Expand All @@ -121,8 +121,8 @@ def test_leave_requests_state_employee_user(self):
"name": "Test Leave Request 2",
"holiday_status_id": self.test_leave_type2_id.id,
"holiday_type": "employee",
"date_from": today + timedelta(days=13),
"date_to": today + timedelta(days=14),
"date_from": today + timedelta(days=14),
"date_to": today + timedelta(days=17),
"employee_id": self.test_employee_id.id,
}
)
Expand All @@ -144,7 +144,7 @@ def test_leave_request_employee_validate_all(self):
"name": "Test Leave Request 1",
"holiday_status_id": self.test_leave_type1_id.id,
"date_from": today + timedelta(days=10),
"date_to": today + timedelta(days=12),
"date_to": today + timedelta(days=13),
"holiday_type": "employee",
"employee_id": self.test_employee_id.id,
}
Expand All @@ -155,8 +155,8 @@ def test_leave_request_employee_validate_all(self):
"name": "Test Leave Request 2",
"holiday_status_id": self.test_leave_type2_id.id,
"holiday_type": "employee",
"date_from": today + timedelta(days=13),
"date_to": today + timedelta(days=14),
"date_from": today + timedelta(days=14),
"date_to": today + timedelta(days=17),
"employee_id": self.test_employee_id.id,
}
)
Expand Down

0 comments on commit 843d0c8

Please sign in to comment.