From 2185016f717ed90a0a9f537fbf9978435362321e Mon Sep 17 00:00:00 2001 From: marination Date: Fri, 21 Jan 2022 14:55:43 +0530 Subject: [PATCH] fix: (test) set user for price test --- erpnext/e_commerce/variant_selector/test_variant_selector.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/e_commerce/variant_selector/test_variant_selector.py b/erpnext/e_commerce/variant_selector/test_variant_selector.py index c7858dcbc98a..83f08733612a 100644 --- a/erpnext/e_commerce/variant_selector/test_variant_selector.py +++ b/erpnext/e_commerce/variant_selector/test_variant_selector.py @@ -100,6 +100,7 @@ def test_exact_match_with_price(self): """ from erpnext.e_commerce.doctype.website_item.test_website_item import make_web_item_price + frappe.set_user("Administrator") make_web_item_price(item_code="Test-Tshirt-Temp-S-R", price_list_rate=100) next_values = get_next_attribute_and_values( "Test-Tshirt-Temp",