test: use _Test Company to avoid Holiday List error (#24902)

This commit is contained in:
Sagar Vora
2021-03-17 10:06:05 +05:30
committed by GitHub
parent bce904cf97
commit 68aaf12902

View File

@@ -49,7 +49,7 @@ class TestTimesheet(unittest.TestCase):
self.assertEqual(timesheet.total_billable_amount, 0)
def test_salary_slip_from_timesheet(self):
emp = make_employee("test_employee_6@salary.com")
emp = make_employee("test_employee_6@salary.com", company="_Test Company")
salary_structure = make_salary_structure_for_timesheet(emp)
timesheet = make_timesheet(emp, simulate = True, billable=1)