diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-09 11:14:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-12 13:36:23 +0100 |
commit | 2732eeff9e6994582293b5aaa0cb158b7e272e9e (patch) | |
tree | 417d30cf470cd1db84e06c5dbd1b5429d4b99bc1 /server/tests/cli/prune-storage.ts | |
parent | c7c5f8d0f17b0ab598fbe237f11639c6de28110c (diff) | |
download | PeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.tar.gz PeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.tar.zst PeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.zip |
Fix CI using 127.0.0.1 for tests
Diffstat (limited to 'server/tests/cli/prune-storage.ts')
-rw-r--r-- | server/tests/cli/prune-storage.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/cli/prune-storage.ts b/server/tests/cli/prune-storage.ts index ba0fa1f86..8bdf2136d 100644 --- a/server/tests/cli/prune-storage.ts +++ b/server/tests/cli/prune-storage.ts | |||
@@ -94,7 +94,7 @@ describe('Test prune storage scripts', function () { | |||
94 | 94 | ||
95 | // Lazy load the remote avatars | 95 | // Lazy load the remote avatars |
96 | { | 96 | { |
97 | const account = await servers[0].accounts.get({ accountName: 'root@localhost:' + servers[1].port }) | 97 | const account = await servers[0].accounts.get({ accountName: 'root@' + servers[1].host }) |
98 | 98 | ||
99 | for (const avatar of account.avatars) { | 99 | for (const avatar of account.avatars) { |
100 | await makeGetRequest({ | 100 | await makeGetRequest({ |
@@ -106,7 +106,7 @@ describe('Test prune storage scripts', function () { | |||
106 | } | 106 | } |
107 | 107 | ||
108 | { | 108 | { |
109 | const account = await servers[1].accounts.get({ accountName: 'root@localhost:' + servers[0].port }) | 109 | const account = await servers[1].accounts.get({ accountName: 'root@' + servers[0].host }) |
110 | for (const avatar of account.avatars) { | 110 | for (const avatar of account.avatars) { |
111 | await makeGetRequest({ | 111 | await makeGetRequest({ |
112 | url: servers[1].url, | 112 | url: servers[1].url, |