diff options
Diffstat (limited to 'server/tests/external-plugins/auth-ldap.ts')
-rw-r--r-- | server/tests/external-plugins/auth-ldap.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/external-plugins/auth-ldap.ts b/server/tests/external-plugins/auth-ldap.ts index ef624152e..aaaf23278 100644 --- a/server/tests/external-plugins/auth-ldap.ts +++ b/server/tests/external-plugins/auth-ldap.ts | |||
@@ -3,17 +3,17 @@ | |||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import { expect } from 'chai' | 4 | import { expect } from 'chai' |
5 | import { HttpStatusCode } from '@shared/core-utils' | 5 | import { HttpStatusCode } from '@shared/core-utils' |
6 | import { cleanupTests, flushAndRunServer, ServerInfo, setAccessTokensToServers } from '@shared/extra-utils' | 6 | import { cleanupTests, createSingleServer, PeerTubeServer, setAccessTokensToServers } from '@shared/extra-utils' |
7 | 7 | ||
8 | describe('Official plugin auth-ldap', function () { | 8 | describe('Official plugin auth-ldap', function () { |
9 | let server: ServerInfo | 9 | let server: PeerTubeServer |
10 | let accessToken: string | 10 | let accessToken: string |
11 | let userId: number | 11 | let userId: number |
12 | 12 | ||
13 | before(async function () { | 13 | before(async function () { |
14 | this.timeout(30000) | 14 | this.timeout(30000) |
15 | 15 | ||
16 | server = await flushAndRunServer(1) | 16 | server = await createSingleServer(1) |
17 | await setAccessTokensToServers([ server ]) | 17 | await setAccessTokensToServers([ server ]) |
18 | 18 | ||
19 | await server.plugins.install({ npmName: 'peertube-plugin-auth-ldap' }) | 19 | await server.plugins.install({ npmName: 'peertube-plugin-auth-ldap' }) |