]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix search index tests
authorChocobozzz <me@florianbigard.com>
Fri, 3 Jun 2022 13:13:23 +0000 (15:13 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 3 Jun 2022 13:14:12 +0000 (15:14 +0200)
server/tests/api/search/search-index.ts

index b18d40b2af19841342548811ce6e725fa728d8c4..287abe4556a7f1c8acf7aa8af77c541a3609976a 100644 (file)
@@ -345,8 +345,8 @@ describe('Test index search', function () {
     })
 
     it('Should make host search and have appropriate results', async function () {
-      await check({ search: 'Framasoft', host: 'example.com' }, false)
-      await check({ search: 'Framasoft', host: 'framatube.org' }, true)
+      await check({ search: 'Framasoft videos', host: 'example.com' }, false)
+      await check({ search: 'Framasoft videos', host: 'framatube.org' }, true)
     })
 
     it('Should make handles search and have appropriate results', async function () {