diff options
Diffstat (limited to 'server/tests/api/check-params/videos-overviews.ts')
-rw-r--r-- | server/tests/api/check-params/videos-overviews.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/check-params/videos-overviews.ts b/server/tests/api/check-params/videos-overviews.ts index 3597c81d3..c2139d74b 100644 --- a/server/tests/api/check-params/videos-overviews.ts +++ b/server/tests/api/check-params/videos-overviews.ts | |||
@@ -1,17 +1,17 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ |
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import { cleanupTests, flushAndRunServer, ServerInfo } from '@shared/extra-utils' | 4 | import { cleanupTests, createSingleServer, PeerTubeServer } from '@shared/extra-utils' |
5 | 5 | ||
6 | describe('Test videos overview', function () { | 6 | describe('Test videos overview', function () { |
7 | let server: ServerInfo | 7 | let server: PeerTubeServer |
8 | 8 | ||
9 | // --------------------------------------------------------------- | 9 | // --------------------------------------------------------------- |
10 | 10 | ||
11 | before(async function () { | 11 | before(async function () { |
12 | this.timeout(30000) | 12 | this.timeout(30000) |
13 | 13 | ||
14 | server = await flushAndRunServer(1) | 14 | server = await createSingleServer(1) |
15 | }) | 15 | }) |
16 | 16 | ||
17 | describe('When getting videos overview', function () { | 17 | describe('When getting videos overview', function () { |