diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/helpers/custom-validators/videos.ts | 1 | ||||
-rw-r--r-- | server/tests/api/multiple-servers.ts | 2 | ||||
-rw-r--r-- | server/tests/api/single-server.ts | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/server/helpers/custom-validators/videos.ts b/server/helpers/custom-validators/videos.ts index 4fc460699..37fa8b08a 100644 --- a/server/helpers/custom-validators/videos.ts +++ b/server/helpers/custom-validators/videos.ts | |||
@@ -9,7 +9,6 @@ import { VIDEO_PRIVACIES } from '../../initializers/constants' | |||
9 | import { database as db } from '../../initializers/database' | 9 | import { database as db } from '../../initializers/database' |
10 | import { VideoInstance } from '../../models/video/video-interface' | 10 | import { VideoInstance } from '../../models/video/video-interface' |
11 | import { exists, isArray } from './misc' | 11 | import { exists, isArray } from './misc' |
12 | import isInt = require('validator/lib/isInt') | ||
13 | 12 | ||
14 | const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS | 13 | const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS |
15 | const VIDEO_ABUSES_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_ABUSES | 14 | const VIDEO_ABUSES_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_ABUSES |
diff --git a/server/tests/api/multiple-servers.ts b/server/tests/api/multiple-servers.ts index c9f74cc8c..2f17f017a 100644 --- a/server/tests/api/multiple-servers.ts +++ b/server/tests/api/multiple-servers.ts | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { join } from "path" | 5 | import { join } from 'path' |
6 | import * as request from 'supertest' | 6 | import * as request from 'supertest' |
7 | 7 | ||
8 | import { | 8 | import { |
diff --git a/server/tests/api/single-server.ts b/server/tests/api/single-server.ts index 91460c7ae..174fb480d 100644 --- a/server/tests/api/single-server.ts +++ b/server/tests/api/single-server.ts | |||
@@ -4,7 +4,6 @@ import * as chai from 'chai' | |||
4 | import { keyBy } from 'lodash' | 4 | import { keyBy } from 'lodash' |
5 | import 'mocha' | 5 | import 'mocha' |
6 | import { join } from 'path' | 6 | import { join } from 'path' |
7 | import * as request from 'supertest' | ||
8 | import { | 7 | import { |
9 | dateIsValid, | 8 | dateIsValid, |
10 | flushTests, | 9 | flushTests, |