aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/shared/video.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/shared/video.ts')
-rw-r--r--server/tests/shared/video.ts4
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 */
2import { dateIsValid, makeRawRequest, PeerTubeServer, testImage, webtorrentAdd } from '@shared/extra-utils' 2import { dateIsValid, makeRawRequest, PeerTubeServer, testImage, webtorrentAdd } from '@shared/extra-utils'
3import { expect } from 'chai' 3import { expect } from 'chai'
4import { VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '@server/initializers/constants' 4import { loadLanguages, VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '@server/initializers/constants'
5import { getLowercaseExtension, uuidRegex } from '@shared/core-utils' 5import { getLowercaseExtension, uuidRegex } from '@shared/core-utils'
6 6
7loadLanguages()
8
7export async function completeVideoCheck ( 9export async function completeVideoCheck (
8 server: PeerTubeServer, 10 server: PeerTubeServer,
9 video: any, 11 video: any,