Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update tests to work with new implementation
Mira Szewczyk94483b2591e5
diff --git a/tests/conftest.py b/tests/conftest.pyindex af2840801a..bd364d759c 100644--- a/tests/conftest.py+++ b/tests/conftest.py@@ -731,7 +731,9 @@ def product_with_default_variant(product_type_without_variant, category, warehoucategory=category,is_published=True,)- ProductVariant.objects.create(product=product, sku="1234", track_inventory=True)+ variant = ProductVariant.objects.create(+ product=product, sku="1234", track_inventory=True+ )Stock.objects.create(warehouse=warehouse, product_variant=variant, quantity=100)return product