diff options
Diffstat (limited to 'server/tests/shared')
-rw-r--r-- | server/tests/shared/streaming-playlists.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/shared/streaming-playlists.ts b/server/tests/shared/streaming-playlists.ts index 75e135c4e..1c38cb512 100644 --- a/server/tests/shared/streaming-playlists.ts +++ b/server/tests/shared/streaming-playlists.ts | |||
@@ -214,7 +214,7 @@ async function checkVideoFileTokenReinjection (options: { | |||
214 | ? i | 214 | ? i |
215 | : `-${resolution}` | 215 | : `-${resolution}` |
216 | 216 | ||
217 | expect(text).to.contain(`${suffix}.m3u8?videoFileToken=${videoFileToken}`) | 217 | expect(text).to.contain(`${suffix}.m3u8?videoFileToken=${videoFileToken}&reinjectVideoFileToken=true`) |
218 | } | 218 | } |
219 | 219 | ||
220 | const resolutionPlaylists = extractResolutionPlaylistUrls(hls.playlistUrl, text) | 220 | const resolutionPlaylists = extractResolutionPlaylistUrls(hls.playlistUrl, text) |
@@ -228,6 +228,7 @@ async function checkVideoFileTokenReinjection (options: { | |||
228 | : '.mp4' | 228 | : '.mp4' |
229 | 229 | ||
230 | expect(text).to.contain(`${extension}?videoFileToken=${videoFileToken}`) | 230 | expect(text).to.contain(`${extension}?videoFileToken=${videoFileToken}`) |
231 | expect(text).not.to.contain(`reinjectVideoFileToken=true`) | ||
231 | } | 232 | } |
232 | } | 233 | } |
233 | 234 | ||