From c8000975d361fae166a6ebecac5005238e14d4c9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 21 Feb 2019 15:44:12 +0100 Subject: Add NSFW info in about page --- server/tests/api/activitypub/fetch.ts | 3 +++ server/tests/api/activitypub/index.ts | 2 +- server/tests/api/activitypub/security.ts | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'server/tests/api') diff --git a/server/tests/api/activitypub/fetch.ts b/server/tests/api/activitypub/fetch.ts index 03609c1a9..5c617de10 100644 --- a/server/tests/api/activitypub/fetch.ts +++ b/server/tests/api/activitypub/fetch.ts @@ -3,6 +3,7 @@ import 'mocha' import { + closeAllSequelize, createUser, doubleFollow, flushAndRunMultipleServers, @@ -79,6 +80,8 @@ describe('Test ActivityPub fetcher', function () { after(async function () { killallServers(servers) + await closeAllSequelize(servers) + // Keep the logs if the test failed if (this['ok']) { await flushTests() diff --git a/server/tests/api/activitypub/index.ts b/server/tests/api/activitypub/index.ts index 450053309..92bd6f660 100644 --- a/server/tests/api/activitypub/index.ts +++ b/server/tests/api/activitypub/index.ts @@ -1,5 +1,5 @@ import './client' import './fetch' -import './helpers' import './refresher' +import './helpers' import './security' 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 @@ import 'mocha' import { + closeAllSequelize, flushAndRunMultipleServers, flushTests, killallServers, @@ -179,6 +180,8 @@ describe('Test ActivityPub security', function () { after(async function () { killallServers(servers) + await closeAllSequelize(servers) + // Keep the logs if the test failed if (this['ok']) { await flushTests() -- cgit v1.2.3