]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix search index tests
authorChocobozzz <me@florianbigard.com>
Wed, 11 Aug 2021 06:16:01 +0000 (08:16 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 11 Aug 2021 09:49:01 +0000 (11:49 +0200)
server/tests/api/search/search-index.ts

index 4c8b1f6084ccd6c81afa51d135c6cf1c236ea86f..1845c2069d74480f30b709a9ac83ff413090ea8a 100644 (file)
@@ -137,8 +137,8 @@ describe('Test videos search', function () {
       expect(video.account.avatar).to.exist
 
       expect(video.channel.host).to.equal('framatube.org')
-      expect(video.channel.name).to.equal('bf54d359-cfad-4935-9d45-9d6be93f63e8')
-      expect(video.channel.url).to.equal('https://framatube.org/video-channels/bf54d359-cfad-4935-9d45-9d6be93f63e8')
+      expect(video.channel.name).to.equal('joinpeertube')
+      expect(video.channel.url).to.equal('https://framatube.org/video-channels/joinpeertube')
       expect(video.channel.avatar).to.exist
     }