Fix videos language tests
This commit is contained in:
parent
9b3294a849
commit
c77fdc605b
|
@ -1,9 +1,11 @@
|
||||||
/* eslint-disable @typescript-eslint/no-unused-expressions */
|
/* eslint-disable @typescript-eslint/no-unused-expressions */
|
||||||
import { dateIsValid, makeRawRequest, PeerTubeServer, testImage, webtorrentAdd } from '@shared/extra-utils'
|
import { dateIsValid, makeRawRequest, PeerTubeServer, testImage, webtorrentAdd } from '@shared/extra-utils'
|
||||||
import { expect } from 'chai'
|
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'
|
import { getLowercaseExtension, uuidRegex } from '@shared/core-utils'
|
||||||
|
|
||||||
|
loadLanguages()
|
||||||
|
|
||||||
export async function completeVideoCheck (
|
export async function completeVideoCheck (
|
||||||
server: PeerTubeServer,
|
server: PeerTubeServer,
|
||||||
video: any,
|
video: any,
|
||||||
|
|
Loading…
Reference in New Issue