From faa9d434b4d681837ff2a87603337c2623419669 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 17 Jun 2020 10:55:40 +0200 Subject: Update server dependencies --- server/tests/api/check-params/video-abuses.ts | 14 -------------- 1 file changed, 14 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 e643cb95e..a3fe00ffb 100644 --- a/server/tests/api/check-params/video-abuses.ts +++ b/server/tests/api/check-params/video-abuses.ts @@ -141,13 +141,6 @@ describe('Test video abuses API validators', function () { }) describe('When updating a video abuse', function () { - const basePath = '/api/v1/videos/' - // eslint-disable-next-line @typescript-eslint/no-unused-vars - let path: string - - before(() => { - path = basePath + server.video.id + '/abuse/' + videoAbuseId - }) it('Should fail with a non authenticated user', async function () { await updateVideoAbuse(server.url, 'blabla', server.video.uuid, videoAbuseId, {}, 401) @@ -179,13 +172,6 @@ describe('Test video abuses API validators', function () { }) describe('When deleting a video abuse', function () { - const basePath = '/api/v1/videos/' - // eslint-disable-next-line @typescript-eslint/no-unused-vars - let path: string - - before(() => { - path = basePath + server.video.id + '/abuse/' + videoAbuseId - }) it('Should fail with a non authenticated user', async function () { await deleteVideoAbuse(server.url, 'blabla', server.video.uuid, videoAbuseId, 401) -- cgit v1.2.3