aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/audio-only.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/videos/audio-only.ts')
-rw-r--r--server/tests/api/videos/audio-only.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/videos/audio-only.ts b/server/tests/api/videos/audio-only.ts
index e31905b36..b2952e38b 100644
--- a/server/tests/api/videos/audio-only.ts
+++ b/server/tests/api/videos/audio-only.ts
@@ -48,13 +48,13 @@ describe('Test audio only video transcoding', function () {
48 it('Should upload a video and transcode it', async function () { 48 it('Should upload a video and transcode it', async function () {
49 this.timeout(120000) 49 this.timeout(120000)
50 50
51 const { uuid } = await servers[0].videosCommand.upload({ attributes: { name: 'audio only' } }) 51 const { uuid } = await servers[0].videos.upload({ attributes: { name: 'audio only' } })
52 videoUUID = uuid 52 videoUUID = uuid
53 53
54 await waitJobs(servers) 54 await waitJobs(servers)
55 55
56 for (const server of servers) { 56 for (const server of servers) {
57 const video = await server.videosCommand.get({ id: videoUUID }) 57 const video = await server.videos.get({ id: videoUUID })
58 expect(video.streamingPlaylists).to.have.lengthOf(1) 58 expect(video.streamingPlaylists).to.have.lengthOf(1)
59 59
60 for (const files of [ video.files, video.streamingPlaylists[0].files ]) { 60 for (const files of [ video.files, video.streamingPlaylists[0].files ]) {
@@ -68,8 +68,8 @@ describe('Test audio only video transcoding', function () {
68 68
69 it('0p transcoded video should not have video', async function () { 69 it('0p transcoded video should not have video', async function () {
70 const paths = [ 70 const paths = [
71 servers[0].serversCommand.buildDirectory(join('videos', videoUUID + '-0.mp4')), 71 servers[0].servers.buildDirectory(join('videos', videoUUID + '-0.mp4')),
72 servers[0].serversCommand.buildDirectory(join('streaming-playlists', 'hls', videoUUID, videoUUID + '-0-fragmented.mp4')) 72 servers[0].servers.buildDirectory(join('streaming-playlists', 'hls', videoUUID, videoUUID + '-0-fragmented.mp4'))
73 ] 73 ]
74 74
75 for (const path of paths) { 75 for (const path of paths) {