Skip to content

Commit

Permalink
Fix test after rebasing off main
Browse files Browse the repository at this point in the history
  • Loading branch information
mdragon committed Feb 10, 2025
1 parent c6649a4 commit 85ab150
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/tests/services/fetch/fetchers/SearchFetcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,14 @@ describe("downloadOpportunities", () => {
expect(mockfetchOpportunitySearch).toHaveBeenCalledWith({
body: {
pagination: {
order_by: "opportunity_number", // This should be the actual value being used in the API method
sort_order: [
{
order_by: "opportunity_number", // This should be the actual value being used in the API method
sort_direction: "ascending", // or "descending" based on your sortby parameter
},
],
page_offset: 1,
page_size: 5000,
sort_direction: "ascending", // or "descending" based on your sortby parameter
},
query: "research",
filters: {
Expand Down

0 comments on commit 85ab150

Please sign in to comment.