aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/plugins.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/plugins.ts')
-rw-r--r--server/tests/api/check-params/plugins.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/check-params/plugins.ts b/server/tests/api/check-params/plugins.ts
index d4b72c0f4..2b471ee7d 100644
--- a/server/tests/api/check-params/plugins.ts
+++ b/server/tests/api/check-params/plugins.ts
@@ -7,17 +7,17 @@ import {
7 checkBadSortPagination, 7 checkBadSortPagination,
8 checkBadStartPagination, 8 checkBadStartPagination,
9 cleanupTests, 9 cleanupTests,
10 flushAndRunServer, 10 createSingleServer,
11 makeGetRequest, 11 makeGetRequest,
12 makePostBodyRequest, 12 makePostBodyRequest,
13 makePutBodyRequest, 13 makePutBodyRequest,
14 ServerInfo, 14 PeerTubeServer,
15 setAccessTokensToServers 15 setAccessTokensToServers
16} from '@shared/extra-utils' 16} from '@shared/extra-utils'
17import { PeerTubePlugin, PluginType } from '@shared/models' 17import { PeerTubePlugin, PluginType } from '@shared/models'
18 18
19describe('Test server plugins API validators', function () { 19describe('Test server plugins API validators', function () {
20 let server: ServerInfo 20 let server: PeerTubeServer
21 let userAccessToken = null 21 let userAccessToken = null
22 22
23 const npmPlugin = 'peertube-plugin-hello-world' 23 const npmPlugin = 'peertube-plugin-hello-world'
@@ -33,7 +33,7 @@ describe('Test server plugins API validators', function () {
33 before(async function () { 33 before(async function () {
34 this.timeout(30000) 34 this.timeout(30000)
35 35
36 server = await flushAndRunServer(1) 36 server = await createSingleServer(1)
37 37
38 await setAccessTokensToServers([ server ]) 38 await setAccessTokensToServers([ server ])
39 39