diff options
-rw-r--r-- | server/tests/api/server/follow-constraints.ts | 2 | ||||
-rw-r--r-- | server/tests/misc-endpoints.ts | 6 |
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>') |