aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-26 14:50:40 +0200
committerChocobozzz <me@florianbigard.com>2020-06-26 14:51:01 +0200
commit7820a54e5e168195e58209a4051dd5ecbbec93cf (patch)
treebeb0d7a0181424442775639851f4d9d7a8afcb79 /server
parent84f6e32c7be4098c08e8735825ce1bcb44e43193 (diff)
downloadPeerTube-7820a54e5e168195e58209a4051dd5ecbbec93cf.tar.gz
PeerTube-7820a54e5e168195e58209a4051dd5ecbbec93cf.tar.zst
PeerTube-7820a54e5e168195e58209a4051dd5ecbbec93cf.zip
Close mock blocklit server when tests end
Diffstat (limited to 'server')
-rw-r--r--server/tests/external-plugins/auto-block-videos.ts2
-rw-r--r--server/tests/external-plugins/auto-mute.ts2
2 files changed, 4 insertions, 0 deletions
diff --git a/server/tests/external-plugins/auto-block-videos.ts b/server/tests/external-plugins/auto-block-videos.ts
index 3ec03d558..1b91d141e 100644
--- a/server/tests/external-plugins/auto-block-videos.ts
+++ b/server/tests/external-plugins/auto-block-videos.ts
@@ -185,6 +185,8 @@ describe('Official plugin auto-block videos', function () {
185 }) 185 })
186 186
187 after(async function () { 187 after(async function () {
188 await blocklistServer.terminate()
189
188 await cleanupTests(servers) 190 await cleanupTests(servers)
189 }) 191 })
190}) 192})
diff --git a/server/tests/external-plugins/auto-mute.ts b/server/tests/external-plugins/auto-mute.ts
index bfdbee80a..8ead34a2b 100644
--- a/server/tests/external-plugins/auto-mute.ts
+++ b/server/tests/external-plugins/auto-mute.ts
@@ -238,6 +238,8 @@ describe('Official plugin auto-mute', function () {
238 }) 238 })
239 239
240 after(async function () { 240 after(async function () {
241 await blocklistServer.terminate()
242
241 await cleanupTests(servers) 243 await cleanupTests(servers)
242 }) 244 })
243}) 245})