diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-26 08:50:52 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-15 15:14:21 +0200 |
commit | 48f07b4a4091cb10dc4d179118e155f3a118dca8 (patch) | |
tree | 8fcc6bd8cafa636ebaf97a083fafbcc0d52ad5cd /server/tests/api/videos/multiple-servers.ts | |
parent | 7243f84db0f34c6d5610a54603b0cce7c284a7b3 (diff) | |
download | PeerTube-48f07b4a4091cb10dc4d179118e155f3a118dca8.tar.gz PeerTube-48f07b4a4091cb10dc4d179118e155f3a118dca8.tar.zst PeerTube-48f07b4a4091cb10dc4d179118e155f3a118dca8.zip |
All API tests in parallel
Diffstat (limited to 'server/tests/api/videos/multiple-servers.ts')
-rw-r--r-- | server/tests/api/videos/multiple-servers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts index 89904759a..09b461200 100644 --- a/server/tests/api/videos/multiple-servers.ts +++ b/server/tests/api/videos/multiple-servers.ts | |||
@@ -109,7 +109,7 @@ describe('Test multiple servers', function () { | |||
109 | // All servers should have this video | 109 | // All servers should have this video |
110 | let publishedAt: string = null | 110 | let publishedAt: string = null |
111 | for (const server of servers) { | 111 | for (const server of servers) { |
112 | const isLocal = server.url === 'http://localhost:' + servers[0].port | 112 | const isLocal = server.port === servers[0].port |
113 | const checkAttributes = { | 113 | const checkAttributes = { |
114 | name: 'my super name for server 1', | 114 | name: 'my super name for server 1', |
115 | category: 5, | 115 | category: 5, |