From 4d8018de68a977c75591abd60c55d80b29da15f4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 15 Jan 2024 11:30:49 +0100 Subject: [PATCH] Fix tests New index that uses meilisearch has a sort that can be influenced, but still tries to sort by exact match first --- packages/tests/src/api/search/search-index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tests/src/api/search/search-index.ts b/packages/tests/src/api/search/search-index.ts index 7c7001c8d..5a070f6f3 100644 --- a/packages/tests/src/api/search/search-index.ts +++ b/packages/tests/src/api/search/search-index.ts @@ -312,7 +312,7 @@ describe('Test index search', function () { }) it('Should make a search and have results', async function () { - await check({ search: 'Framasoft', sort: 'createdAt' }, true) + await check({ search: 'Framasoft vidéos', sort: 'createdAt' }, true) }) it('Should make host search and have appropriate results', async function () {