From b302c80dc0d9ba8eabef9ef6576efe36afc57584 Mon Sep 17 00:00:00 2001 From: Wicklow <123956049+wickloww@users.noreply.github.com> Date: Fri, 7 Apr 2023 08:09:54 +0000 Subject: feature/ability to disable video history by default (#5728) * draft: ability to disable video history by default * Update configuration and add tests * Updated code based on review comments * Add tests on registration and video quota * Remove required video quotas in query * Fix tests --- server/tests/api/check-params/users-admin.ts | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'server/tests/api/check-params/users-admin.ts') diff --git a/server/tests/api/check-params/users-admin.ts b/server/tests/api/check-params/users-admin.ts index be2496bb4..819da0bb2 100644 --- a/server/tests/api/check-params/users-admin.ts +++ b/server/tests/api/check-params/users-admin.ts @@ -216,18 +216,6 @@ describe('Test users admin API validators', function () { }) }) - it('Should fail without a videoQuota', async function () { - const fields = omit(baseCorrectParams, [ 'videoQuota' ]) - - await makePostBodyRequest({ url: server.url, path, token: server.accessToken, fields }) - }) - - it('Should fail without a videoQuotaDaily', async function () { - const fields = omit(baseCorrectParams, [ 'videoQuotaDaily' ]) - - await makePostBodyRequest({ url: server.url, path, token: server.accessToken, fields }) - }) - it('Should fail with an invalid videoQuota', async function () { const fields = { ...baseCorrectParams, videoQuota: -5 } -- cgit v1.2.3