Skip to content

Commit

Permalink
[FIX] hr_holidays_public: Fix tests (not call the action_validate met…
Browse files Browse the repository at this point in the history
…hod if the record does not exist yet)
  • Loading branch information
victoralmau committed Jul 26, 2024
1 parent 8a149b6 commit 5770e4b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hr_holidays_public/tests/test_holidays_calculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ def test_number_of_hours_excluding_employee_2(self):
"employee_id": self.employee_2.id,
}
)
leave_request.action_validate()

self.assertEqual(leave_request.number_of_days, 2)
self.assertEqual(leave_request.number_of_hours_display, 16)

0 comments on commit 5770e4b

Please sign in to comment.