diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-21 14:38:10 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-10-24 14:48:24 +0200 |
commit | 0177101284509ad68c5e484bce0474f57069c006 (patch) | |
tree | 387cf1fbd8efc5bb07ac38e401f0b3f8d8d8ebbd /server/tests/api/redundancy | |
parent | fc097052abfbd646950a26f02b31b9925a5f3961 (diff) | |
download | PeerTube-0177101284509ad68c5e484bce0474f57069c006.tar.gz PeerTube-0177101284509ad68c5e484bce0474f57069c006.tar.zst PeerTube-0177101284509ad68c5e484bce0474f57069c006.zip |
Fix tests
Diffstat (limited to 'server/tests/api/redundancy')
-rw-r--r-- | server/tests/api/redundancy/redundancy.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/redundancy/redundancy.ts b/server/tests/api/redundancy/redundancy.ts index ba6b00e0b..fb2e6e91c 100644 --- a/server/tests/api/redundancy/redundancy.ts +++ b/server/tests/api/redundancy/redundancy.ts | |||
@@ -125,7 +125,7 @@ async function check1WebSeed (videoUUID?: string) { | |||
125 | if (!videoUUID) videoUUID = video1Server2.uuid | 125 | if (!videoUUID) videoUUID = video1Server2.uuid |
126 | 126 | ||
127 | const webseeds = [ | 127 | const webseeds = [ |
128 | `http://localhost:${servers[1].port}/static/webseed/` | 128 | `${servers[1].url}/static/webseed/` |
129 | ] | 129 | ] |
130 | 130 | ||
131 | for (const server of servers) { | 131 | for (const server of servers) { |
@@ -144,8 +144,8 @@ async function check2Webseeds (videoUUID?: string) { | |||
144 | if (!videoUUID) videoUUID = video1Server2.uuid | 144 | if (!videoUUID) videoUUID = video1Server2.uuid |
145 | 145 | ||
146 | const webseeds = [ | 146 | const webseeds = [ |
147 | `http://localhost:${servers[0].port}/static/redundancy/`, | 147 | `${servers[0].url}/static/redundancy/`, |
148 | `http://localhost:${servers[1].port}/static/webseed/` | 148 | `${servers[1].url}/static/webseed/` |
149 | ] | 149 | ] |
150 | 150 | ||
151 | for (const server of servers) { | 151 | for (const server of servers) { |