Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix misc tests

Chocobozzze39cfd1d9136
diff --git a/server/tests/api/server/follow-constraints.ts b/server/tests/api/server/follow-constraints.ts
index ac3ff37f0f..46663bf7cb 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 () {
let userAccessToken: string
before(async function () {
- this.timeout(30000)
+ this.timeout(60000)
servers = await flushAndRunMultipleServers(2)
diff --git a/server/tests/misc-endpoints.ts b/server/tests/misc-endpoints.ts
index ed406e1bc6..ab2dd3a0ff 100644
--- a/server/tests/misc-endpoints.ts
+++ b/server/tests/misc-endpoints.ts
@@ -158,9 +158,9 @@ describe('Test misc endpoints', function () {
expect(res.text).to.contain('xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"')
expect(res.text).to.contain('<url><loc>http://localhost:9001/about/instance</loc></url>')
- expect(res.text).to.contain('<video:title><![CDATA[video 1]]></video:title>')
- expect(res.text).to.contain('<video:title><![CDATA[video 2]]></video:title>')
- expect(res.text).to.not.contain('<video:title><![CDATA[video 3]]></video:title>')
+ expect(res.text).to.contain('<video:title>video 1</video:title>')
+ expect(res.text).to.contain('<video:title>video 2</video:title>')
+ expect(res.text).to.not.contain('<video:title>video 3</video:title>')
expect(res.text).to.contain('<url><loc>http://localhost:9001/video-channels/channel1</loc></url>')
expect(res.text).to.contain('<url><loc>http://localhost:9001/video-channels/channel2</loc></url>')