flushTests,
killallServers,
makeActivityPubGetRequest,
- runServer,
ServerInfo,
- setAccessTokensToServers, uploadVideo
-} from '../../utils'
+ setAccessTokensToServers,
+ uploadVideo
+} from '../../../../shared/extra-utils'
const expect = chai.expect
before(async function () {
this.timeout(30000)
- await flushTests()
-
servers = await flushAndRunMultipleServers(2)
await setAccessTokensToServers(servers)
expect(res.header.location).to.equal('http://localhost:9001/videos/watch/' + videoUUID)
})
- after(async function () {
+ after(function () {
killallServers(servers)
})
})