Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix incorrect imports
Maciej Korycinski5b4e22ae09fe
diff --git a/saleor/graphql/order/tests/test_order.py b/saleor/graphql/order/tests/test_order.pyindex 715beb0a6f..ec2dbc273d 100644--- a/saleor/graphql/order/tests/test_order.py+++ b/saleor/graphql/order/tests/test_order.py@@ -7,7 +7,6 @@ import pytestfrom django.contrib.auth.models import AnonymousUserfrom django.core.exceptions import ValidationErrorfrom freezegun import freeze_time-from graphql_relay import to_global_idfrom prices import Money, TaxedMoneyfrom ....account.models import CustomerEvent@@ -3288,7 +3287,7 @@ def test_orders_query_with_filter_search_by_global_payment_id()order_with_payment = orders[0]payment = Payment.objects.create(order=order_with_payment)- global_id = to_global_id("Payment", payment.pk)+ global_id = graphene.Node.to_global_id("Payment", payment.pk)variables = {"filter": {"search": global_id}}staff_api_client.user.user_permissions.add(permission_manage_orders)