diff options
author | Chocobozzz <me@florianbigard.com> | 2019-10-22 09:25:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-10-22 09:25:35 +0200 |
commit | e39cfd1d9136a3378aa9f628c7bbd5d8bf556816 (patch) | |
tree | f07f95f05fe7fb984f4dbe01cd2de098a133c968 /server/tests/misc-endpoints.ts | |
parent | e771dbe0aa6ccc005472001230ef0ef4b3ad1a56 (diff) | |
download | PeerTube-e39cfd1d9136a3378aa9f628c7bbd5d8bf556816.tar.gz PeerTube-e39cfd1d9136a3378aa9f628c7bbd5d8bf556816.tar.zst PeerTube-e39cfd1d9136a3378aa9f628c7bbd5d8bf556816.zip |
Fix misc tests
Diffstat (limited to 'server/tests/misc-endpoints.ts')
-rw-r--r-- | server/tests/misc-endpoints.ts | 6 |
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>') |