]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/server/follows.ts
Add reverse proxy test in travis
[github/Chocobozzz/PeerTube.git] / server / tests / api / server / follows.ts
index 7c4dea458a2302ad5f428bf3195607068465e740..010b488d8baf572f739a57559d93e92ad99e7b0e 100644 (file)
@@ -169,7 +169,7 @@ describe('Test follows', function () {
     await expectAccountFollows(servers[2].url, 'peertube@localhost:9003', 0, 0)
   })
 
-  it('Should upload a video on server 2 ans 3 and propagate only the video of server 2', async function () {
+  it('Should upload a video on server 2 and 3 and propagate only the video of server 2', async function () {
     this.timeout(10000)
 
     await uploadVideo(servers[1].url, servers[1].accessToken, { name: 'server2' })
@@ -280,8 +280,11 @@ describe('Test follows', function () {
         language: 3,
         nsfw: true,
         description: 'my super description',
-        host: 'localhost:9003',
-        account: 'root',
+        support: 'my super support text',
+        account: {
+          name: 'root',
+          host: 'localhost:9003'
+        },
         isLocal,
         commentsEnabled: true,
         duration: 5,