Skip to content

Commit

Permalink
fix: test lieux presenter
Browse files Browse the repository at this point in the history
  • Loading branch information
abelkhay committed Nov 14, 2023
1 parent 8d4ce9d commit 5362085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2461,7 +2461,7 @@ describe('lieux-mediation-numerique-list presenter', (): void => {
);

const searchResults: ResultFoundPresentation<{ id: string; type: string }>[] = await firstValueFrom(
lieuxMediationNumeriqueListPresenter.search$('ANONYM', 2)
lieuxMediationNumeriqueListPresenter.search$('ANONYM', false, 2)
);

expect<ResultFoundPresentation<{ id: string; type: string }>[]>(searchResults).toStrictEqual([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ export class LieuxMediationNumeriquePresenter implements Searchable<{ id: string

public search$(
searchTerm: string,
fromOrientation: boolean,
fromOrientation?: boolean,
limit: number = 5
): Observable<ResultFoundPresentation<{ id: string; type: 'place' }>[]> {
return fromOrientation
Expand Down

0 comments on commit 5362085

Please sign in to comment.