aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/misc-endpoints.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/misc-endpoints.ts')
-rw-r--r--server/tests/misc-endpoints.ts6
1 files changed, 3 insertions, 3 deletions
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>')