X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fcheck-params%2Fcontact-form.ts;h=9db442b0be1105713409618ca60ffea9ba8a4364;hb=0c9a83546687d2ae80b3f5299a8ee59d741f894f;hp=8c2b2a84b116662792f6b880eb1c65be38c6b76b;hpb=254d3579f5338f5fd775c17d15cdfc37078bcfb4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/check-params/contact-form.ts b/server/tests/api/check-params/contact-form.ts index 8c2b2a84b..9db442b0b 100644 --- a/server/tests/api/check-params/contact-form.ts +++ b/server/tests/api/check-params/contact-form.ts @@ -1,9 +1,9 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ import 'mocha' -import { HttpStatusCode } from '@shared/core-utils' -import { cleanupTests, createSingleServer, killallServers, MockSmtpServer, PeerTubeServer } from '@shared/extra-utils' -import { ContactFormCommand } from '@shared/extra-utils/server' +import { MockSmtpServer } from '@server/tests/shared' +import { HttpStatusCode } from '@shared/models' +import { cleanupTests, ContactFormCommand, createSingleServer, killallServers, PeerTubeServer } from '@shared/server-commands' describe('Test contact form API validators', function () { let server: PeerTubeServer @@ -34,7 +34,7 @@ describe('Test contact form API validators', function () { }) it('Should not accept a contact form if it is disabled in the configuration', async function () { - this.timeout(10000) + this.timeout(25000) await killallServers([ server ]) @@ -44,7 +44,7 @@ describe('Test contact form API validators', function () { }) it('Should not accept a contact form if from email is invalid', async function () { - this.timeout(10000) + this.timeout(25000) await killallServers([ server ])