aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r--server/tests/api/check-params/contact-form.ts5
-rw-r--r--server/tests/api/check-params/users.ts2
2 files changed, 3 insertions, 4 deletions
diff --git a/server/tests/api/check-params/contact-form.ts b/server/tests/api/check-params/contact-form.ts
index c7f9c1b47..274562cbb 100644
--- a/server/tests/api/check-params/contact-form.ts
+++ b/server/tests/api/check-params/contact-form.ts
@@ -1,11 +1,10 @@
1/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ 1/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
2 2
3import 'mocha' 3import 'mocha'
4 4import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
5import { cleanupTests, flushAndRunServer, immutableAssign, killallServers, reRunServer, ServerInfo } from '../../../../shared/extra-utils' 5import { cleanupTests, flushAndRunServer, immutableAssign, killallServers, reRunServer, ServerInfo } from '../../../../shared/extra-utils'
6import { MockSmtpServer } from '../../../../shared/extra-utils/mock-servers/mock-email'
6import { sendContactForm } from '../../../../shared/extra-utils/server/contact-form' 7import { sendContactForm } from '../../../../shared/extra-utils/server/contact-form'
7import { MockSmtpServer } from '../../../../shared/extra-utils/miscs/email'
8import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
9 8
10describe('Test contact form API validators', function () { 9describe('Test contact form API validators', function () {
11 let server: ServerInfo 10 let server: ServerInfo
diff --git a/server/tests/api/check-params/users.ts b/server/tests/api/check-params/users.ts
index 70a872ce5..da0f55bf8 100644
--- a/server/tests/api/check-params/users.ts
+++ b/server/tests/api/check-params/users.ts
@@ -32,7 +32,7 @@ import {
32 uploadVideo, 32 uploadVideo,
33 userLogin 33 userLogin
34} from '../../../../shared/extra-utils' 34} from '../../../../shared/extra-utils'
35import { MockSmtpServer } from '../../../../shared/extra-utils/miscs/email' 35import { MockSmtpServer } from '../../../../shared/extra-utils/mock-servers/mock-email'
36import { 36import {
37 checkBadCountPagination, 37 checkBadCountPagination,
38 checkBadSortPagination, 38 checkBadSortPagination,