diff options
Diffstat (limited to 'server/tests/api/videos/video-hls.ts')
-rw-r--r-- | server/tests/api/videos/video-hls.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/videos/video-hls.ts b/server/tests/api/videos/video-hls.ts index a1214bad1..3d04758b1 100644 --- a/server/tests/api/videos/video-hls.ts +++ b/server/tests/api/videos/video-hls.ts | |||
@@ -51,7 +51,7 @@ async function checkHlsPlaylist (servers: ServerInfo[], videoUUID: string) { | |||
51 | 51 | ||
52 | { | 52 | { |
53 | for (const resolution of resolutions) { | 53 | for (const resolution of resolutions) { |
54 | const res2 = await getPlaylist(`http://localhost:9001/static/playlists/hls/${videoUUID}/${resolution}.m3u8`) | 54 | const res2 = await getPlaylist(`http://localhost:9001/static/streaming-playlists/hls/${videoUUID}/${resolution}.m3u8`) |
55 | 55 | ||
56 | const subPlaylist = res2.text | 56 | const subPlaylist = res2.text |
57 | expect(subPlaylist).to.contain(`${videoUUID}-${resolution}-fragmented.mp4`) | 57 | expect(subPlaylist).to.contain(`${videoUUID}-${resolution}-fragmented.mp4`) |
@@ -59,7 +59,7 @@ async function checkHlsPlaylist (servers: ServerInfo[], videoUUID: string) { | |||
59 | } | 59 | } |
60 | 60 | ||
61 | { | 61 | { |
62 | const baseUrl = 'http://localhost:9001/static/playlists/hls' | 62 | const baseUrl = 'http://localhost:9001/static/streaming-playlists/hls' |
63 | 63 | ||
64 | for (const resolution of resolutions) { | 64 | for (const resolution of resolutions) { |
65 | await checkSegmentHash(baseUrl, baseUrl, videoUUID, resolution, hlsPlaylist) | 65 | await checkSegmentHash(baseUrl, baseUrl, videoUUID, resolution, hlsPlaylist) |
@@ -118,7 +118,7 @@ describe('Test HLS videos', function () { | |||
118 | it('Should have the playlists/segment deleted from the disk', async function () { | 118 | it('Should have the playlists/segment deleted from the disk', async function () { |
119 | for (const server of servers) { | 119 | for (const server of servers) { |
120 | await checkDirectoryIsEmpty(server, 'videos') | 120 | await checkDirectoryIsEmpty(server, 'videos') |
121 | await checkDirectoryIsEmpty(server, join('playlists', 'hls')) | 121 | await checkDirectoryIsEmpty(server, join('streaming-playlists', 'hls')) |
122 | } | 122 | } |
123 | }) | 123 | }) |
124 | 124 | ||