From 57f6896f67cfc570cf3605dd94b0778101b2d9b9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 7 Jul 2020 10:57:04 +0200 Subject: Implement abuses check params --- server/tests/api/check-params/video-abuses.ts | 6 ------ 1 file changed, 6 deletions(-) (limited to 'server/tests/api/check-params/video-abuses.ts') diff --git a/server/tests/api/check-params/video-abuses.ts b/server/tests/api/check-params/video-abuses.ts index f122baef4..3b361ca79 100644 --- a/server/tests/api/check-params/video-abuses.ts +++ b/server/tests/api/check-params/video-abuses.ts @@ -152,12 +152,6 @@ describe('Test video abuses API validators', function () { await makePostBodyRequest({ url: server.url, path, token: server.accessToken, fields }) }) - it('Should fail mith misordered startAt/endAt', async function () { - const fields = { reason: 'my super reason', startAt: 5, endAt: 1 } - - await makePostBodyRequest({ url: server.url, path, token: server.accessToken, fields }) - }) - it('Should succeed with the corret parameters (advanced)', async function () { const fields: VideoAbuseCreate = { reason: 'my super reason', predefinedReasons: [ 'serverRules' ], startAt: 1, endAt: 5 } -- cgit v1.2.3