diff --git a/commerce_coordinator/apps/commercetools/tests/_test_cases.py b/commerce_coordinator/apps/commercetools/tests/_test_cases.py index b2f33927..7fcaa377 100644 --- a/commerce_coordinator/apps/commercetools/tests/_test_cases.py +++ b/commerce_coordinator/apps/commercetools/tests/_test_cases.py @@ -41,7 +41,7 @@ def get_orders_for_customer(self): # noinspection PyUnusedLocal # pylint: disable=unused-argument # needed for kwargs def _get_orders_for_customer( - _, edx_lms_user_id: int, offset=0, + _, edx_lms_user_id: int, offset=0, customer_id=None, email=None, username=None, limit=ORDER_HISTORY_PER_SYSTEM_REQ_LIMIT ) -> (PaginatedResult[CTOrder], CTCustomer): return ( diff --git a/commerce_coordinator/apps/commercetools/tests/test_pipeline.py b/commerce_coordinator/apps/commercetools/tests/test_pipeline.py index 8dc6133a..1f02f1de 100644 --- a/commerce_coordinator/apps/commercetools/tests/test_pipeline.py +++ b/commerce_coordinator/apps/commercetools/tests/test_pipeline.py @@ -48,6 +48,9 @@ def test_pipeline(self, is_redirect_mock): request, { "edx_lms_user_id": 127, + "customer_id": None, + "email": "test@example.com", + "username": "test", "page_size": ORDER_HISTORY_PER_SYSTEM_REQ_LIMIT, "page": 0, },