aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-10-22 09:25:35 +0200
committerChocobozzz <me@florianbigard.com>2019-10-22 09:25:35 +0200
commite39cfd1d9136a3378aa9f628c7bbd5d8bf556816 (patch)
treef07f95f05fe7fb984f4dbe01cd2de098a133c968 /server/tests
parente771dbe0aa6ccc005472001230ef0ef4b3ad1a56 (diff)
downloadPeerTube-e39cfd1d9136a3378aa9f628c7bbd5d8bf556816.tar.gz
PeerTube-e39cfd1d9136a3378aa9f628c7bbd5d8bf556816.tar.zst
PeerTube-e39cfd1d9136a3378aa9f628c7bbd5d8bf556816.zip
Fix misc tests
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/server/follow-constraints.ts2
-rw-r--r--server/tests/misc-endpoints.ts6
2 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/server/follow-constraints.ts b/server/tests/api/server/follow-constraints.ts
index ac3ff37f0..46663bf7c 100644
--- a/server/tests/api/server/follow-constraints.ts
+++ b/server/tests/api/server/follow-constraints.ts
@@ -27,7 +27,7 @@ describe('Test follow constraints', function () {
27 let userAccessToken: string 27 let userAccessToken: string
28 28
29 before(async function () { 29 before(async function () {
30 this.timeout(30000) 30 this.timeout(60000)
31 31
32 servers = await flushAndRunMultipleServers(2) 32 servers = await flushAndRunMultipleServers(2)
33 33
diff --git a/server/tests/misc-endpoints.ts b/server/tests/misc-endpoints.ts
index ed406e1bc..ab2dd3a0f 100644
--- a/server/tests/misc-endpoints.ts
+++ b/server/tests/misc-endpoints.ts
@@ -158,9 +158,9 @@ describe('Test misc endpoints', function () {
158 expect(res.text).to.contain('xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"') 158 expect(res.text).to.contain('xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"')
159 expect(res.text).to.contain('<url><loc>http://localhost:9001/about/instance</loc></url>') 159 expect(res.text).to.contain('<url><loc>http://localhost:9001/about/instance</loc></url>')
160 160
161 expect(res.text).to.contain('<video:title><![CDATA[video 1]]></video:title>') 161 expect(res.text).to.contain('<video:title>video 1</video:title>')
162 expect(res.text).to.contain('<video:title><![CDATA[video 2]]></video:title>') 162 expect(res.text).to.contain('<video:title>video 2</video:title>')
163 expect(res.text).to.not.contain('<video:title><![CDATA[video 3]]></video:title>') 163 expect(res.text).to.not.contain('<video:title>video 3</video:title>')
164 164
165 expect(res.text).to.contain('<url><loc>http://localhost:9001/video-channels/channel1</loc></url>') 165 expect(res.text).to.contain('<url><loc>http://localhost:9001/video-channels/channel1</loc></url>')
166 expect(res.text).to.contain('<url><loc>http://localhost:9001/video-channels/channel2</loc></url>') 166 expect(res.text).to.contain('<url><loc>http://localhost:9001/video-channels/channel2</loc></url>')