aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/activitypub/security.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-02-21 15:44:12 +0100
committerChocobozzz <me@florianbigard.com>2019-02-21 15:51:28 +0100
commitc8000975d361fae166a6ebecac5005238e14d4c9 (patch)
tree67d7da38abc6c4d9ceb4d120088d499309f69e30 /server/tests/api/activitypub/security.ts
parente359e88b08476041c3c52db02fb3ca4e5ee296ea (diff)
downloadPeerTube-c8000975d361fae166a6ebecac5005238e14d4c9.tar.gz
PeerTube-c8000975d361fae166a6ebecac5005238e14d4c9.tar.zst
PeerTube-c8000975d361fae166a6ebecac5005238e14d4c9.zip
Add NSFW info in about page
Diffstat (limited to 'server/tests/api/activitypub/security.ts')
-rw-r--r--server/tests/api/activitypub/security.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/tests/api/activitypub/security.ts b/server/tests/api/activitypub/security.ts
index 342ae0fa1..b78504073 100644
--- a/server/tests/api/activitypub/security.ts
+++ b/server/tests/api/activitypub/security.ts
@@ -3,6 +3,7 @@
3import 'mocha' 3import 'mocha'
4 4
5import { 5import {
6 closeAllSequelize,
6 flushAndRunMultipleServers, 7 flushAndRunMultipleServers,
7 flushTests, 8 flushTests,
8 killallServers, 9 killallServers,
@@ -179,6 +180,8 @@ describe('Test ActivityPub security', function () {
179 after(async function () { 180 after(async function () {
180 killallServers(servers) 181 killallServers(servers)
181 182
183 await closeAllSequelize(servers)
184
182 // Keep the logs if the test failed 185 // Keep the logs if the test failed
183 if (this['ok']) { 186 if (this['ok']) {
184 await flushTests() 187 await flushTests()