Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix videos language tests

Chocobozzzc77fdc605b3c
diff --git a/server/tests/shared/video.ts b/server/tests/shared/video.ts
index 0e6a00f5c8..95b30b27c3 100644
--- a/server/tests/shared/video.ts
+++ b/server/tests/shared/video.ts
@@ -1,9 +1,11 @@
/* eslint-disable @typescript-eslint/no-unused-expressions */
import { dateIsValid, makeRawRequest, PeerTubeServer, testImage, webtorrentAdd } from '@shared/extra-utils'
import { expect } from 'chai'
-import { VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '@server/initializers/constants'
+import { loadLanguages, VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '@server/initializers/constants'
import { getLowercaseExtension, uuidRegex } from '@shared/core-utils'
+loadLanguages()
+
export async function completeVideoCheck (
server: PeerTubeServer,
video: any,