Skip to content

Commit

Permalink
chore: revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-valiollahi committed Dec 9, 2024
1 parent fce3ffb commit eadb9b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/lcfs/tests/fuel_code/test_fuel_code_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async def test_get_fuel_codes_success():
]
repo_mock.get_fuel_codes_paginated.return_value = (mock_fuel_codes, 1)

pagination = PaginationRequestSchema(page=1, size=10, filters=[], sort_orders=[])
pagination = PaginationRequestSchema(page=1, size=10)

# Act
result = await service.search_fuel_codes(pagination)
Expand All @@ -49,7 +49,7 @@ async def test_get_fuel_codes_success():
assert isinstance(result.pagination, PaginationResponseSchema)
assert len(result.fuel_codes) == 1
assert result.fuel_codes[0].company == "XYZ Corp"
repo_mock.get_fuel_codes_paginated.assert_called_once_with(pagination, [])
repo_mock.get_fuel_codes_paginated.assert_called_once_with(pagination)


@pytest.mark.anyio
Expand Down

0 comments on commit eadb9b0

Please sign in to comment.