X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Factivitypub%2Fclient.ts;h=edf588c166fbc8d64b953ec680f329670395819a;hb=210feb6cc484a6c5c63c98f770de34e223f944cb;hp=ea0682634f30d8d8ea6df952b0d97bc3fe9295c8;hpb=1a8dd4da77468068d1ff7f7bd67f76399ae04e04;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/activitypub/client.ts b/server/tests/api/activitypub/client.ts index ea0682634..edf588c16 100644 --- a/server/tests/api/activitypub/client.ts +++ b/server/tests/api/activitypub/client.ts @@ -8,10 +8,10 @@ import { flushTests, killallServers, makeActivityPubGetRequest, - runServer, ServerInfo, - setAccessTokensToServers, uploadVideo -} from '../../utils' + setAccessTokensToServers, + uploadVideo +} from '../../../../shared/extra-utils' const expect = chai.expect @@ -22,8 +22,6 @@ describe('Test activitypub', function () { before(async function () { this.timeout(30000) - await flushTests() - servers = await flushAndRunMultipleServers(2) await setAccessTokensToServers(servers) @@ -61,7 +59,7 @@ describe('Test activitypub', function () { expect(res.header.location).to.equal('http://localhost:9001/videos/watch/' + videoUUID) }) - after(async function () { + after(function () { killallServers(servers) }) })