mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
[Fix] Test case
This commit is contained in:
@@ -72,7 +72,7 @@ class TestSalarySlip(unittest.TestCase):
|
|||||||
|
|
||||||
# set joinng date in the same month
|
# set joinng date in the same month
|
||||||
self.make_employee("test_employee@salary.com")
|
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))
|
date_of_joining = getdate(add_days(nowdate(),-10))
|
||||||
relieving_date = getdate(add_days(nowdate(),-10))
|
relieving_date = getdate(add_days(nowdate(),-10))
|
||||||
elif getdate(nowdate()).day < 15 and getdate(nowdate()).day > 5:
|
elif getdate(nowdate()).day < 15 and getdate(nowdate()).day > 5:
|
||||||
|
|||||||
Reference in New Issue
Block a user