1
0
Fork 0

Fix tests

New index that uses meilisearch has a sort that can be influenced, but
still tries to sort by exact match first
This commit is contained in:
Chocobozzz 2024-01-15 11:30:49 +01:00
parent 91f975f959
commit 4d8018de68
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -312,7 +312,7 @@ describe('Test index search', function () {
}) })
it('Should make a search and have results', async 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 () { it('Should make host search and have appropriate results', async function () {