From ffeff2d3858ce4138d1fe760b91fe633a28df9f1 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 6 Sep 2018 12:45:07 +0530 Subject: [PATCH] fix(tests): reset session user as administrator after running tests --- erpnext/selling/doctype/sales_order/test_sales_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/doctype/sales_order/test_sales_order.py b/erpnext/selling/doctype/sales_order/test_sales_order.py index f8fd1b3483..538ea55737 100644 --- a/erpnext/selling/doctype/sales_order/test_sales_order.py +++ b/erpnext/selling/doctype/sales_order/test_sales_order.py @@ -15,7 +15,7 @@ import json class TestSalesOrder(unittest.TestCase): def tearDown(self): - pass + frappe.set_user("Administrator") def test_make_material_request(self): so = make_sales_order(do_not_submit=True)