diff options
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r-- | server/tests/api/check-params/contact-form.ts | 5 | ||||
-rw-r--r-- | server/tests/api/check-params/users.ts | 2 |
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 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | 4 | import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' | |
5 | import { cleanupTests, flushAndRunServer, immutableAssign, killallServers, reRunServer, ServerInfo } from '../../../../shared/extra-utils' | 5 | import { cleanupTests, flushAndRunServer, immutableAssign, killallServers, reRunServer, ServerInfo } from '../../../../shared/extra-utils' |
6 | import { MockSmtpServer } from '../../../../shared/extra-utils/mock-servers/mock-email' | ||
6 | import { sendContactForm } from '../../../../shared/extra-utils/server/contact-form' | 7 | import { sendContactForm } from '../../../../shared/extra-utils/server/contact-form' |
7 | import { MockSmtpServer } from '../../../../shared/extra-utils/miscs/email' | ||
8 | import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' | ||
9 | 8 | ||
10 | describe('Test contact form API validators', function () { | 9 | describe('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' |
35 | import { MockSmtpServer } from '../../../../shared/extra-utils/miscs/email' | 35 | import { MockSmtpServer } from '../../../../shared/extra-utils/mock-servers/mock-email' |
36 | import { | 36 | import { |
37 | checkBadCountPagination, | 37 | checkBadCountPagination, |
38 | checkBadSortPagination, | 38 | checkBadSortPagination, |