Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix CORE_2118 e2e (#17212)
Iga Karbowiak8c7f9238f184
diff --git a/saleor/tests/e2e/promotions/test_promotions_query_with_different_parameters.py b/saleor/tests/e2e/promotions/test_promotions_query_with_different_parameters.pyindex f4847c31da..1117ab0b80 100644--- a/saleor/tests/e2e/promotions/test_promotions_query_with_different_parameters.py+++ b/saleor/tests/e2e/promotions/test_promotions_query_with_different_parameters.py@@ -1,6 +1,7 @@import datetimeimport pytest+from django.utils import timezonefrom freezegun import freeze_timefrom ..metadata.utils import update_metadata@@ -370,12 +371,13 @@ def test_step_10_promotions_with_end_date_after_CORE_2118()assert promotion["endDate"] == end_date+ feature_end_date = timezone.now() + datetime.timedelta(days=10)e2e_staff_api_client.regenerate_access_token()promotion_dnm = create_promotion(e2e_staff_api_client,"Promotion does not match",promotion_type,- end_date="2024-12-31T21:00:00.000000+00:00",+ end_date=feature_end_date,)promotions_list = promotions_query(