From: Chocobozzz Date: Fri, 19 May 2023 13:33:26 +0000 (+0200) Subject: Fix lowest email port X-Git-Tag: v5.2.0-rc.1~101 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=9ba1faa2eec339d4b9c8acff2631bcb6d24043bc;p=github%2FChocobozzz%2FPeerTube.git Fix lowest email port --- diff --git a/server/tests/shared/mock-servers/mock-email.ts b/server/tests/shared/mock-servers/mock-email.ts index 5f37f6ae0..6eda2dfda 100644 --- a/server/tests/shared/mock-servers/mock-email.ts +++ b/server/tests/shared/mock-servers/mock-email.ts @@ -12,7 +12,7 @@ class MockSmtpServer { collectEmails (emailsCollection: object[]) { return new Promise((res, rej) => { - const port = parallelTests() ? randomInt(1000, 2000) : 1025 + const port = parallelTests() ? randomInt(1025, 2000) : 1025 this.emails = emailsCollection if (this.started) {