Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix test

fowczarek63583f7bdd9f
diff --git a/tests/dashboard/test_product.py b/tests/dashboard/test_product.py
index 7605331688..1955aaa337 100644
--- a/tests/dashboard/test_product.py
+++ b/tests/dashboard/test_product.py
@@ -467,7 +467,8 @@ def test_view_product_variant_details(admin_client, product):
def test_view_product_variant_details_redirect_to_product(
- admin_client, product):
+ admin_client, product_with_default_variant):
+ product = product_with_default_variant
variant = product.variants.get()
url = reverse(
'dashboard:variant-details',