X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fcheck-params%2Fconfig.ts;h=99fb24a5b3e5063ed9d2c0d52b4e331fa8fa758e;hb=ba2684ceddf9b76312635b9cddc6bf6975ce436a;hp=a6e87730a5c5ddfa19977db713395365dcbd3586;hpb=0bc53e20296de68288481e2375b297626087174b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts index a6e87730a..99fb24a5b 100644 --- a/server/tests/api/check-params/config.ts +++ b/server/tests/api/check-params/config.ts @@ -10,7 +10,7 @@ import { makePutBodyRequest, PeerTubeServer, setAccessTokensToServers -} from '@shared/extra-utils' +} from '@shared/server-commands' import { CustomConfig, HttpStatusCode } from '@shared/models' describe('Test config API validators', function () { @@ -125,6 +125,9 @@ describe('Test config API validators', function () { enabled: true, allowReplay: false, + latencySetting: { + enabled: false + }, maxDuration: 30, maxInstanceLives: -1, maxUserLives: 50, @@ -145,6 +148,9 @@ describe('Test config API validators', function () { } } }, + videoStudio: { + enabled: true + }, import: { videos: { concurrency: 1, @@ -159,7 +165,7 @@ describe('Test config API validators', function () { trending: { videos: { algorithms: { - enabled: [ 'best', 'hot', 'most-viewed', 'most-liked' ], + enabled: [ 'hot', 'most-viewed', 'most-liked' ], default: 'most-viewed' } }