From 73fb3dc53571a6e94750a9d6cb5c2e949e1adcb9 Mon Sep 17 00:00:00 2001 From: Wicklow Date: Tue, 7 Mar 2023 10:52:20 +0100 Subject: Fix file token reinjection on fragments --- server/tests/api/videos/video-static-file-privacy.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'server/tests/api') diff --git a/server/tests/api/videos/video-static-file-privacy.ts b/server/tests/api/videos/video-static-file-privacy.ts index ef0774b41..16530884e 100644 --- a/server/tests/api/videos/video-static-file-privacy.ts +++ b/server/tests/api/videos/video-static-file-privacy.ts @@ -256,10 +256,9 @@ describe('Test video static file privacy', function () { const videoFileToken = await server.videoToken.getVideoFileToken({ videoId: uuid }) await waitJobs([ server ]) - const video = await server.videos.getWithToken({ id: uuid }) - const hls = video.streamingPlaylists[0] - { + const video = await server.videos.getWithToken({ id: uuid }) + const hls = video.streamingPlaylists[0] const query = { videoFileToken } const { text } = await makeRawRequest({ url: hls.playlistUrl, query, expectedStatus: HttpStatusCode.OK_200 }) -- cgit v1.2.3