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",