aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/external-plugins/auto-block-videos.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-16 10:42:24 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:18 +0200
commitc0e8b12e7fd554ba4d2ceb0c4900804c6a4c63ea (patch)
treebaf29753ac5d4598643e3bee719f8df0cc36c59d /server/tests/external-plugins/auto-block-videos.ts
parent08642a765ea514a00f159db898edf14c376fbe6c (diff)
downloadPeerTube-c0e8b12e7fd554ba4d2ceb0c4900804c6a4c63ea.tar.gz
PeerTube-c0e8b12e7fd554ba4d2ceb0c4900804c6a4c63ea.tar.zst
PeerTube-c0e8b12e7fd554ba4d2ceb0c4900804c6a4c63ea.zip
Refactor requests
Diffstat (limited to 'server/tests/external-plugins/auto-block-videos.ts')
-rw-r--r--server/tests/external-plugins/auto-block-videos.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/external-plugins/auto-block-videos.ts b/server/tests/external-plugins/auto-block-videos.ts
index 9cb86310b..78b13eded 100644
--- a/server/tests/external-plugins/auto-block-videos.ts
+++ b/server/tests/external-plugins/auto-block-videos.ts
@@ -43,10 +43,10 @@ describe('Official plugin auto-block videos', function () {
43 blocklistServer = new MockBlocklist() 43 blocklistServer = new MockBlocklist()
44 port = await blocklistServer.initialize() 44 port = await blocklistServer.initialize()
45 45
46 await await servers[0].videos.quickUpload({ name: 'video server 1' }) 46 await servers[0].videos.quickUpload({ name: 'video server 1' })
47 await await servers[1].videos.quickUpload({ name: 'video server 2' }) 47 await servers[1].videos.quickUpload({ name: 'video server 2' })
48 await await servers[1].videos.quickUpload({ name: 'video 2 server 2' }) 48 await servers[1].videos.quickUpload({ name: 'video 2 server 2' })
49 await await servers[1].videos.quickUpload({ name: 'video 3 server 2' }) 49 await servers[1].videos.quickUpload({ name: 'video 3 server 2' })
50 50
51 { 51 {
52 const { data } = await servers[0].videos.list() 52 const { data } = await servers[0].videos.list()