aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/plugins/plugin-transcoding.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/plugins/plugin-transcoding.ts')
-rw-r--r--server/tests/plugins/plugin-transcoding.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/plugins/plugin-transcoding.ts b/server/tests/plugins/plugin-transcoding.ts
index 689eec5ac..21f82fbac 100644
--- a/server/tests/plugins/plugin-transcoding.ts
+++ b/server/tests/plugins/plugin-transcoding.ts
@@ -35,7 +35,7 @@ function updateConf (server: PeerTubeServer, vodProfile: string, liveProfile: st
35 hls: { 35 hls: {
36 enabled: true 36 enabled: true
37 }, 37 },
38 webtorrent: { 38 webVideos: {
39 enabled: true 39 enabled: true
40 }, 40 },
41 resolutions: { 41 resolutions: {
@@ -247,7 +247,7 @@ describe('Test transcoding plugins', function () {
247 247
248 const video = await server.videos.get({ id: videoUUID }) 248 const video = await server.videos.get({ id: videoUUID })
249 249
250 const path = server.servers.buildWebTorrentFilePath(video.files[0].fileUrl) 250 const path = server.servers.buildWebVideoFilePath(video.files[0].fileUrl)
251 const audioProbe = await getAudioStream(path) 251 const audioProbe = await getAudioStream(path)
252 expect(audioProbe.audioStream.codec_name).to.equal('opus') 252 expect(audioProbe.audioStream.codec_name).to.equal('opus')
253 253