import { rateVideo } from '../../utils/videos/videos'
import { waitJobs } from '../../utils/server/jobs'
import { createVideoCaption, listVideoCaptions, testCaptionFile } from '../../utils/videos/video-captions'
-import { VideoCaption } from '../../../../shared/models/videos/video-caption.model'
+import { VideoCaption } from '../../../../shared/models/videos/caption/video-caption.model'
const expect = chai.expect
})
it('Should have server 1 following server 2 and 3', async function () {
- this.timeout(10000)
+ this.timeout(30000)
await follow(servers[0].url, [ servers[1].url, servers[2].url ], servers[0].accessToken)
})
it('Should upload a video on server 2 and 3 and propagate only the video of server 2', async function () {
- this.timeout(10000)
+ this.timeout(35000)
await uploadVideo(servers[1].url, servers[1].accessToken, { name: 'server2' })
await uploadVideo(servers[2].url, servers[2].accessToken, { name: 'server3' })
likes: 1,
dislikes: 1,
channel: {
- name: 'Default root channel',
+ name: 'Main root channel',
description: '',
isLocal
},