aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/server/config.ts3
-rw-r--r--server/tests/client.ts3
2 files changed, 2 insertions, 4 deletions
diff --git a/server/tests/api/server/config.ts b/server/tests/api/server/config.ts
index 642525455..1d81e1dce 100644
--- a/server/tests/api/server/config.ts
+++ b/server/tests/api/server/config.ts
@@ -27,8 +27,7 @@ const expect = chai.expect
27function checkInitialConfig (server: ServerInfo, data: CustomConfig) { 27function checkInitialConfig (server: ServerInfo, data: CustomConfig) {
28 expect(data.instance.name).to.equal('PeerTube') 28 expect(data.instance.name).to.equal('PeerTube')
29 expect(data.instance.shortDescription).to.equal( 29 expect(data.instance.shortDescription).to.equal(
30 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser ' + 30 'PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.'
31 'with WebTorrent and Angular.'
32 ) 31 )
33 expect(data.instance.description).to.equal('Welcome to this PeerTube instance!') 32 expect(data.instance.description).to.equal('Welcome to this PeerTube instance!')
34 33
diff --git a/server/tests/client.ts b/server/tests/client.ts
index d61724e51..670bc6701 100644
--- a/server/tests/client.ts
+++ b/server/tests/client.ts
@@ -112,8 +112,7 @@ describe('Test a client controllers', function () {
112 it('Should have valid index html tags (title, description...)', async function () { 112 it('Should have valid index html tags (title, description...)', async function () {
113 const res = await makeHTMLRequest(server.url, '/videos/trending') 113 const res = await makeHTMLRequest(server.url, '/videos/trending')
114 114
115 const description = 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser ' + 115 const description = 'PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.'
116 'with WebTorrent and Angular.'
117 checkIndexTags(res.text, 'PeerTube', description, '') 116 checkIndexTags(res.text, 'PeerTube', description, '')
118 }) 117 })
119 118