aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/client.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-07-30 15:34:00 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-07-31 11:32:04 +0200
commitf4659d73fb2d81c9a8f8d1f592ca873b622a194b (patch)
tree0aabe83d9c250c2e2951c50857d79faf2b582b4a /server/tests/client.ts
parentf0af38e69677d1afe17e48b3f5267128db3db1a4 (diff)
downloadPeerTube-f4659d73fb2d81c9a8f8d1f592ca873b622a194b.tar.gz
PeerTube-f4659d73fb2d81c9a8f8d1f592ca873b622a194b.tar.zst
PeerTube-f4659d73fb2d81c9a8f8d1f592ca873b622a194b.zip
Don't run in parallel cli and plugin tests
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r--server/tests/client.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts
index 648d46414..2d8468c06 100644
--- a/server/tests/client.ts
+++ b/server/tests/client.ts
@@ -163,8 +163,10 @@ describe('Test a client controllers', function () {
163 .set('Accept', 'text/html') 163 .set('Accept', 'text/html')
164 .expect(200) 164 .expect(200)
165 165
166 const expectedLink = '<link rel="alternate" type="application/json+oembed" href="http://localhost:9001/services/oembed?' + 166 const port = server.port
167 `url=http%3A%2F%2Flocalhost%3A9001%2Fvideos%2Fwatch%2F${server.video.uuid}" ` + 167
168 const expectedLink = '<link rel="alternate" type="application/json+oembed" href="http://localhost:' + port + '/services/oembed?' +
169 `url=http%3A%2F%2Flocalhost%3A${port}%2Fvideos%2Fwatch%2F${server.video.uuid}" ` +
168 `title="${server.video.name}" />` 170 `title="${server.video.name}" />`
169 171
170 expect(res.text).to.contain(expectedLink) 172 expect(res.text).to.contain(expectedLink)