commit | 084e90e5d3127065ab00c980b25db2d717da4db8 | [log] [tgz] |
---|---|---|
author | Rucha Mahabal <ruchamahabal2@gmail.com> | Tue Apr 06 10:07:50 2021 +0530 |
committer | Rucha Mahabal <ruchamahabal2@gmail.com> | Tue Apr 06 10:07:50 2021 +0530 |
tree | aeddd5cedced38de773f97d7b320928089edc364 | |
parent | 9948525dd39bd218663d8610481b3e922fbda6f7 [diff] |
fix(test): set user as Administrator
diff --git a/erpnext/hr/doctype/expense_claim/test_expense_claim.py b/erpnext/hr/doctype/expense_claim/test_expense_claim.py index 1c5b69b..3f22ca2 100644 --- a/erpnext/hr/doctype/expense_claim/test_expense_claim.py +++ b/erpnext/hr/doctype/expense_claim/test_expense_claim.py
@@ -135,6 +135,7 @@ expense_claim.reload() expense_claim.status = "Approved" expense_claim.submit() + frappe.set_user("Administrator") def get_payable_account(company):