diff options
Diffstat (limited to 'server/tests/api/check-params/videos-filter.ts')
-rw-r--r-- | server/tests/api/check-params/videos-filter.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/server/tests/api/check-params/videos-filter.ts b/server/tests/api/check-params/videos-filter.ts index 82cc0f638..babef8223 100644 --- a/server/tests/api/check-params/videos-filter.ts +++ b/server/tests/api/check-params/videos-filter.ts | |||
@@ -2,14 +2,14 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import { | 4 | import { |
5 | cleanupTests, | ||
5 | createUser, | 6 | createUser, |
6 | createVideoPlaylist, | 7 | createVideoPlaylist, |
7 | flushTests, | ||
8 | killallServers, | ||
9 | makeGetRequest, | ||
10 | flushAndRunServer, | 8 | flushAndRunServer, |
9 | makeGetRequest, | ||
11 | ServerInfo, | 10 | ServerInfo, |
12 | setAccessTokensToServers, setDefaultVideoChannel, | 11 | setAccessTokensToServers, |
12 | setDefaultVideoChannel, | ||
13 | userLogin | 13 | userLogin |
14 | } from '../../../../shared/extra-utils' | 14 | } from '../../../../shared/extra-utils' |
15 | import { UserRole } from '../../../../shared/models/users' | 15 | import { UserRole } from '../../../../shared/models/users' |
@@ -129,7 +129,7 @@ describe('Test videos filters', function () { | |||
129 | }) | 129 | }) |
130 | }) | 130 | }) |
131 | 131 | ||
132 | after(function () { | 132 | after(async function () { |
133 | killallServers([ server ]) | 133 | await cleanupTests([ server ]) |
134 | }) | 134 | }) |
135 | }) | 135 | }) |