Skip to content

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

Allow to query variants by list of ids

Artur Smętc591716f7e11
diff --git a/tests/api/test_product.py b/tests/api/test_product.py
index 9b573fd71d..7d9d5d58f5 100644
--- a/tests/api/test_product.py
+++ b/tests/api/test_product.py
@@ -1309,7 +1309,7 @@ def test_product_variants_by_ids(user_api_client, variant):
}
}
}
- """
+ """
variant_id = graphene.Node.to_global_id('ProductVariant', variant.id)
variables = {'ids': [variant_id]}