diff options
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r-- | server/tests/client.ts | 12 |
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 () { |