diff options
Diffstat (limited to 'server/tests/api/users/users-verification.ts')
-rw-r--r-- | server/tests/api/users/users-verification.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/users/users-verification.ts b/server/tests/api/users/users-verification.ts index c8c226fa8..5dbe2af59 100644 --- a/server/tests/api/users/users-verification.ts +++ b/server/tests/api/users/users-verification.ts | |||
@@ -3,12 +3,12 @@ | |||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { HttpStatusCode } from '@shared/core-utils' | 5 | import { HttpStatusCode } from '@shared/core-utils' |
6 | import { cleanupTests, flushAndRunServer, MockSmtpServer, ServerInfo, setAccessTokensToServers, waitJobs } from '@shared/extra-utils' | 6 | import { cleanupTests, createSingleServer, MockSmtpServer, PeerTubeServer, setAccessTokensToServers, waitJobs } from '@shared/extra-utils' |
7 | 7 | ||
8 | const expect = chai.expect | 8 | const expect = chai.expect |
9 | 9 | ||
10 | describe('Test users account verification', function () { | 10 | describe('Test users account verification', function () { |
11 | let server: ServerInfo | 11 | let server: PeerTubeServer |
12 | let userId: number | 12 | let userId: number |
13 | let userAccessToken: string | 13 | let userAccessToken: string |
14 | let verificationString: string | 14 | let verificationString: string |
@@ -34,7 +34,7 @@ describe('Test users account verification', function () { | |||
34 | port | 34 | port |
35 | } | 35 | } |
36 | } | 36 | } |
37 | server = await flushAndRunServer(1, overrideConfig) | 37 | server = await createSingleServer(1, overrideConfig) |
38 | 38 | ||
39 | await setAccessTokensToServers([ server ]) | 39 | await setAccessTokensToServers([ server ]) |
40 | }) | 40 | }) |