Update test_leave_encashment.py

This commit is contained in:
Nabin Hait 2020-05-05 15:37:17 +05:30 committed by GitHub
parent 9be11455a5
commit 5a1a765ebf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ class TestLeaveEncashment(unittest.TestCase):
leave_encashment.submit()
# assert links
add_sal = frappe.get_all("Additional salary", filters = {"ref_docname": leave_encashment.name})[0]
add_sal = frappe.get_all("Additional Salary", filters = {"ref_docname": leave_encashment.name})[0]
self.assertTrue(add_sal)
def test_creation_of_leave_ledger_entry_on_submit(self):