diff options
Diffstat (limited to 'server/tests/api/videos/video-nsfw.ts')
-rw-r--r-- | server/tests/api/videos/video-nsfw.ts | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/server/tests/api/videos/video-nsfw.ts b/server/tests/api/videos/video-nsfw.ts index a8f152561..6af0ca8af 100644 --- a/server/tests/api/videos/video-nsfw.ts +++ b/server/tests/api/videos/video-nsfw.ts | |||
@@ -8,12 +8,15 @@ import { createUser } from '../../utils/users/users' | |||
8 | import { getMyVideos } from '../../utils/videos/videos' | 8 | import { getMyVideos } from '../../utils/videos/videos' |
9 | import { | 9 | import { |
10 | getAccountVideos, | 10 | getAccountVideos, |
11 | getConfig, getCustomConfig, | 11 | getConfig, |
12 | getMyUserInformation, getVideoChannelVideos, | 12 | getCustomConfig, |
13 | getMyUserInformation, | ||
14 | getVideoChannelVideos, | ||
13 | getVideosListWithToken, | 15 | getVideosListWithToken, |
14 | runServer, | 16 | runServer, |
15 | searchVideo, | 17 | searchVideo, |
16 | searchVideoWithToken, updateCustomConfig, | 18 | searchVideoWithToken, |
19 | updateCustomConfig, | ||
17 | updateMyUser | 20 | updateMyUser |
18 | } from '../../utils' | 21 | } from '../../utils' |
19 | import { ServerConfig } from '../../../../shared/models' | 22 | import { ServerConfig } from '../../../../shared/models' |
@@ -201,10 +204,5 @@ describe('Test video NSFW policy', function () { | |||
201 | 204 | ||
202 | after(async function () { | 205 | after(async function () { |
203 | killallServers([ server ]) | 206 | killallServers([ server ]) |
204 | |||
205 | // Keep the logs if the test failed | ||
206 | if (this['ok']) { | ||
207 | await flushTests() | ||
208 | } | ||
209 | }) | 207 | }) |
210 | }) | 208 | }) |