Skip to content

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

Set appropriate variant name

Adam Bogdał29c46c85d14f
diff --git a/saleor/core/utils/random_data.py b/saleor/core/utils/random_data.py
index 7c04fc2df6..52c2aec0e8 100644
--- a/saleor/core/utils/random_data.py
+++ b/saleor/core/utils/random_data.py
@@ -140,7 +140,7 @@ def create_payment(delivery_group):
payment = Payment.objects.create(
order=order,
status=status,
- variant='dummy',
+ variant='default',
transaction_id=str(fake.random_int(1, 100000)),
currency=settings.DEFAULT_CURRENCY,
total=order.get_total().gross,