Skip to content

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

Update test_discounts.py

Chris Prinos7aa9996a3f54
diff --git a/tests/test_discounts.py b/tests/test_discounts.py
index 68d7b63b05..f997f3fa55 100644
--- a/tests/test_discounts.py
+++ b/tests/test_discounts.py
@@ -221,7 +221,7 @@ def test_get_voucher_discount_all_products(
(date.today(), date.today(), None, True),
(date.today() + timedelta(weeks=10), date.today(), None, True),
))
-def test_sale_active2(current_date, start_date, end_date, is_active):
+def test_sale_active(current_date, start_date, end_date, is_active):
Sale.objects.create(
type=DiscountValueType.FIXED,
value=5,