[Fix] Travis for employee_tax_exemption_declaration (#14500)

This commit is contained in:
rohitwaghchaure 2018-06-13 15:12:32 +05:30 committed by Nabin Hait
parent 4fe2a91b9f
commit 93e8bbac84

View File

@ -65,7 +65,8 @@ class TestEmployeeTaxExemptionDeclaration(unittest.TestCase):
amount = 50000),
]
}).insert()
self.assertTrue(declaration.submit)
declaration.submit()
self.assertEquals(declaration.docstatus, 1)
duplicate_declaration = frappe.get_doc({
"doctype": "Employee Tax Exemption Declaration",
"employee": frappe.get_value("Employee", {"user_id":"employee@taxexepmtion.com"}, "name"),