Skip to content

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

Update attributes format in "ProductVariantCreate" test after rebase

Mateusz Dereniowski309e31ea605e
diff --git a/tests/api/test_product_minimal_variant_price.py b/tests/api/test_product_minimal_variant_price.py
index 80b16dbde6..7937020671 100644
--- a/tests/api/test_product_minimal_variant_price.py
+++ b/tests/api/test_product_minimal_variant_price.py
@@ -157,7 +157,7 @@ def test_ProductVariantCreate_updates_minimal_variant_price(
"productId": product_id,
"sku": sku,
"priceOverride": price_override,
- "attributes": [{"slug": variant_slug, "value": variant_value}],
+ "attributes": [{"slug": variant_slug, "values": [variant_value]}],
}
response = staff_api_client.post_graphql(
query, variables, permissions=[permission_manage_products]