aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/client.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-17 15:20:42 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commit9a27cdc27c900feaae5f6db4315c4ccdfc0c4493 (patch)
treef91fcfa0fa1a2e45aae1c5333ef2f7ec60e56ef0 /server/tests/client.ts
parent975e6e0e44e2f2b25f804cd48a62e2a8d9e8117a (diff)
downloadPeerTube-9a27cdc27c900feaae5f6db4315c4ccdfc0c4493.tar.gz
PeerTube-9a27cdc27c900feaae5f6db4315c4ccdfc0c4493.tar.zst
PeerTube-9a27cdc27c900feaae5f6db4315c4ccdfc0c4493.zip
Optimize signature verification
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r--server/tests/client.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts
index 5f947ed2b..0d70e3451 100644
--- a/server/tests/client.ts
+++ b/server/tests/client.ts
@@ -26,8 +26,8 @@ describe('Test a client controllers', function () {
26 server.accessToken = await loginAndGetAccessToken(server) 26 server.accessToken = await loginAndGetAccessToken(server)
27 27
28 const videoAttributes = { 28 const videoAttributes = {
29 name: 'my super name for pod 1', 29 name: 'my super name for server 1',
30 description: 'my super description for pod 1' 30 description: 'my super description for server 1'
31 } 31 }
32 await uploadVideo(server.url, server.accessToken, videoAttributes) 32 await uploadVideo(server.url, server.accessToken, videoAttributes)
33 33
@@ -44,8 +44,8 @@ describe('Test a client controllers', function () {
44 .get('/videos/watch/' + server.video.id) 44 .get('/videos/watch/' + server.video.id)
45 .expect(200) 45 .expect(200)
46 46
47 expect(res.text).to.contain('<meta property="og:title" content="my super name for pod 1" />') 47 expect(res.text).to.contain('<meta property="og:title" content="my super name for server 1" />')
48 expect(res.text).to.contain('<meta property="og:description" content="my super description for pod 1" />') 48 expect(res.text).to.contain('<meta property="og:description" content="my super description for server 1" />')
49 }) 49 })
50 50
51 it('Should have valid Open Graph tags on the watch page with video uuid', async function () { 51 it('Should have valid Open Graph tags on the watch page with video uuid', async function () {
@@ -53,8 +53,8 @@ describe('Test a client controllers', function () {
53 .get('/videos/watch/' + server.video.uuid) 53 .get('/videos/watch/' + server.video.uuid)
54 .expect(200) 54 .expect(200)
55 55
56 expect(res.text).to.contain('<meta property="og:title" content="my super name for pod 1" />') 56 expect(res.text).to.contain('<meta property="og:title" content="my super name for server 1" />')
57 expect(res.text).to.contain('<meta property="og:description" content="my super description for pod 1" />') 57 expect(res.text).to.contain('<meta property="og:description" content="my super description for server 1" />')
58 }) 58 })
59 59
60 it('Should have valid oEmbed discovery tags', async function () { 60 it('Should have valid oEmbed discovery tags', async function () {