diff options
Diffstat (limited to 'server/tests/api/check-params/users-admin.ts')
-rw-r--r-- | server/tests/api/check-params/users-admin.ts | 12 |
1 files changed, 0 insertions, 12 deletions
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 () { | |||
216 | }) | 216 | }) |
217 | }) | 217 | }) |
218 | 218 | ||
219 | it('Should fail without a videoQuota', async function () { | ||
220 | const fields = omit(baseCorrectParams, [ 'videoQuota' ]) | ||
221 | |||
222 | await makePostBodyRequest({ url: server.url, path, token: server.accessToken, fields }) | ||
223 | }) | ||
224 | |||
225 | it('Should fail without a videoQuotaDaily', async function () { | ||
226 | const fields = omit(baseCorrectParams, [ 'videoQuotaDaily' ]) | ||
227 | |||
228 | await makePostBodyRequest({ url: server.url, path, token: server.accessToken, fields }) | ||
229 | }) | ||
230 | |||
231 | it('Should fail with an invalid videoQuota', async function () { | 219 | it('Should fail with an invalid videoQuota', async function () { |
232 | const fields = { ...baseCorrectParams, videoQuota: -5 } | 220 | const fields = { ...baseCorrectParams, videoQuota: -5 } |
233 | 221 | ||