diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-26 10:55:12 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-26 10:55:12 +0200 |
commit | 44df702502ff5defc42b262b15507f6d88aacc50 (patch) | |
tree | 0623d2a0c6402006f5c1208f9381a871b6a1d53b /server/tests | |
parent | ce3121efebfd4e97b2fddbf2f3f79ddcfcb94004 (diff) | |
download | PeerTube-44df702502ff5defc42b262b15507f6d88aacc50.tar.gz PeerTube-44df702502ff5defc42b262b15507f6d88aacc50.tar.zst PeerTube-44df702502ff5defc42b262b15507f6d88aacc50.zip |
More robust updateTorrentMetadata
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/shared/streaming-playlists.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/shared/streaming-playlists.ts b/server/tests/shared/streaming-playlists.ts index 8ee04d921..824c3dcef 100644 --- a/server/tests/shared/streaming-playlists.ts +++ b/server/tests/shared/streaming-playlists.ts | |||
@@ -113,7 +113,7 @@ async function completeCheckHlsPlaylist (options: { | |||
113 | 113 | ||
114 | expect(file.magnetUri).to.have.lengthOf.above(2) | 114 | expect(file.magnetUri).to.have.lengthOf.above(2) |
115 | expect(file.torrentUrl).to.match( | 115 | expect(file.torrentUrl).to.match( |
116 | new RegExp(`http://${server.host}/lazy-static/torrents/${uuidRegex}-${file.resolution.id}-hls.torrent`) | 116 | new RegExp(`${server.url}/lazy-static/torrents/${uuidRegex}-${file.resolution.id}-hls.torrent`) |
117 | ) | 117 | ) |
118 | 118 | ||
119 | if (objectStorageBaseUrl) { | 119 | if (objectStorageBaseUrl) { |