aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-14 13:53:12 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-12-16 10:08:43 +0100
commitc77fdc605b3ccc1ab6890f889d8200fbe9372949 (patch)
treed0183004a6607409a8b3997476393b035e55c5c3
parent9b3294a8496c89c7880054de1f1f09c9990f1b46 (diff)
downloadPeerTube-c77fdc605b3ccc1ab6890f889d8200fbe9372949.tar.gz
PeerTube-c77fdc605b3ccc1ab6890f889d8200fbe9372949.tar.zst
PeerTube-c77fdc605b3ccc1ab6890f889d8200fbe9372949.zip
Fix videos language tests
-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,