diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/tests/shared/video.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/tests/shared/video.ts b/server/tests/shared/video.ts index 0e6a00f5c..95b30b27c 100644 --- a/server/tests/shared/video.ts +++ b/server/tests/shared/video.ts | |||
@@ -1,9 +1,11 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions */ |
2 | import { dateIsValid, makeRawRequest, PeerTubeServer, testImage, webtorrentAdd } from '@shared/extra-utils' | 2 | import { dateIsValid, makeRawRequest, PeerTubeServer, testImage, webtorrentAdd } from '@shared/extra-utils' |
3 | import { expect } from 'chai' | 3 | import { expect } from 'chai' |
4 | import { VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '@server/initializers/constants' | 4 | import { loadLanguages, VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '@server/initializers/constants' |
5 | import { getLowercaseExtension, uuidRegex } from '@shared/core-utils' | 5 | import { getLowercaseExtension, uuidRegex } from '@shared/core-utils' |
6 | 6 | ||
7 | loadLanguages() | ||
8 | |||
7 | export async function completeVideoCheck ( | 9 | export async function completeVideoCheck ( |
8 | server: PeerTubeServer, | 10 | server: PeerTubeServer, |
9 | video: any, | 11 | video: any, |