aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-04-08 16:30:22 +0200
committerChocobozzz <me@florianbigard.com>2022-04-08 16:30:22 +0200
commit7ca0363f758ef68c270e012764b567d89ee1c4cf (patch)
tree817c7398f4990a9e6134c9a73348ab8934db0eda /server/tests
parentc6d20c84a75c77f50e19afa93aa318ad92edba90 (diff)
downloadPeerTube-7ca0363f758ef68c270e012764b567d89ee1c4cf.tar.gz
PeerTube-7ca0363f758ef68c270e012764b567d89ee1c4cf.tar.zst
PeerTube-7ca0363f758ef68c270e012764b567d89ee1c4cf.zip
Remove duplicated test
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/client.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts
index f41129895..dd95e538a 100644
--- a/server/tests/client.ts
+++ b/server/tests/client.ts
@@ -522,23 +522,6 @@ describe('Test a client controllers', function () {
522 expect(res.text).to.contain('<meta name="robots" content="noindex" />') 522 expect(res.text).to.contain('<meta name="robots" content="noindex" />')
523 } 523 }
524 }) 524 })
525
526 it('Should add noindex meta tag for remote accounts', async function () {
527 const handle = 'root_channel@' + servers[0].host
528 const paths = [ '/video-channels/', '/c/', '/@' ]
529
530 for (const path of paths) {
531 {
532 const { text } = await makeHTMLRequest(servers[1].url, path + handle)
533 expect(text).to.contain('<meta name="robots" content="noindex" />')
534 }
535
536 {
537 const { text } = await makeHTMLRequest(servers[0].url, path + handle)
538 expect(text).to.not.contain('<meta name="robots" content="noindex" />')
539 }
540 }
541 })
542 }) 525 })
543 526
544 describe('Embed HTML', function () { 527 describe('Embed HTML', function () {