From 61fb496be6cfbfde428a0a481ffaab06ece24629 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Fri, 16 Dec 2016 12:19:56 +0530 Subject: [PATCH] [Fix] Test case --- erpnext/hr/doctype/salary_slip/test_salary_slip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/hr/doctype/salary_slip/test_salary_slip.py b/erpnext/hr/doctype/salary_slip/test_salary_slip.py index fafc2273c9..c3fa4edc18 100644 --- a/erpnext/hr/doctype/salary_slip/test_salary_slip.py +++ b/erpnext/hr/doctype/salary_slip/test_salary_slip.py @@ -72,7 +72,7 @@ class TestSalarySlip(unittest.TestCase): # set joinng date in the same month self.make_employee("test_employee@salary.com") - if getdate(nowdate()).day > 15: + if getdate(nowdate()).day >= 15: date_of_joining = getdate(add_days(nowdate(),-10)) relieving_date = getdate(add_days(nowdate(),-10)) elif getdate(nowdate()).day < 15 and getdate(nowdate()).day > 5: