From 084e90e5d3127065ab00c980b25db2d717da4db8 Mon Sep 17 00:00:00 2001 From: Rucha Mahabal Date: Tue, 6 Apr 2021 10:07:50 +0530 Subject: [PATCH] fix(test): set user as Administrator --- erpnext/hr/doctype/expense_claim/test_expense_claim.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/hr/doctype/expense_claim/test_expense_claim.py b/erpnext/hr/doctype/expense_claim/test_expense_claim.py index 1c5b69b0cc..3f22ca2141 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 @@ class TestExpenseClaim(unittest.TestCase): expense_claim.reload() expense_claim.status = "Approved" expense_claim.submit() + frappe.set_user("Administrator") def get_payable_account(company):