Skip to content

Commit

Permalink
chore(edit-content): Fix unit tests #30215
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobytes committed Nov 5, 2024
1 parent 473820a commit ff9c63f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('DotSiteService', () => {
doneFn();
});

const url = `${BASE_SITE_URL}?filter=*&per_page=10&archived=false&live=true&system=true`;
const url = `${BASE_SITE_URL}?filter=*&per_page=10&page=1&archived=false&live=true&system=true`;
const req = spectator.expectOne(url, HttpMethod.GET);
spectator.flushAll([req], [{ entity: mockSites }]);
});
Expand All @@ -41,7 +41,7 @@ describe('DotSiteService', () => {

service.searchParam = searchParams;

const url = `${BASE_SITE_URL}?filter=demo&per_page=15&archived=true&live=false&system=true`;
const url = `${BASE_SITE_URL}?filter=demo&per_page=15&page=1&archived=true&live=false&system=true`;

service.getSites('demo', 15).subscribe(() => doneFn());

Expand Down

0 comments on commit ff9c63f

Please sign in to comment.