Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Noyan Aziz authored and Muhammad Noyan Aziz committed Nov 14, 2024
1 parent 2f11481 commit 25a313d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ def test_pipeline(self, is_redirect_mock):
request,
{
"edx_lms_user_id": 127,
"customer_id": None,
"email": "[email protected]",
"username": "test",
"page_size": ORDER_HISTORY_PER_SYSTEM_REQ_LIMIT,
"page": 0,
},
Expand Down

0 comments on commit 25a313d

Please sign in to comment.