diff options
Diffstat (limited to 'server/tests/api/check-params/videos-history.ts')
-rw-r--r-- | server/tests/api/check-params/videos-history.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/server/tests/api/check-params/videos-history.ts b/server/tests/api/check-params/videos-history.ts index 32f65f510..3739e3fad 100644 --- a/server/tests/api/check-params/videos-history.ts +++ b/server/tests/api/check-params/videos-history.ts | |||
@@ -5,12 +5,11 @@ import 'mocha' | |||
5 | import { | 5 | import { |
6 | checkBadCountPagination, | 6 | checkBadCountPagination, |
7 | checkBadStartPagination, | 7 | checkBadStartPagination, |
8 | flushTests, | 8 | cleanupTests, |
9 | killallServers, | 9 | flushAndRunServer, |
10 | makeGetRequest, | 10 | makeGetRequest, |
11 | makePostBodyRequest, | 11 | makePostBodyRequest, |
12 | makePutBodyRequest, | 12 | makePutBodyRequest, |
13 | flushAndRunServer, | ||
14 | ServerInfo, | 13 | ServerInfo, |
15 | setAccessTokensToServers, | 14 | setAccessTokensToServers, |
16 | uploadVideo | 15 | uploadVideo |
@@ -126,7 +125,7 @@ describe('Test videos history API validator', function () { | |||
126 | }) | 125 | }) |
127 | }) | 126 | }) |
128 | 127 | ||
129 | after(function () { | 128 | after(async function () { |
130 | killallServers([ server ]) | 129 | await cleanupTests([ server ]) |
131 | }) | 130 | }) |
132 | }) | 131 | }) |