aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-19 15:33:26 +0200
committerChocobozzz <me@florianbigard.com>2023-05-19 15:33:26 +0200
commit9ba1faa2eec339d4b9c8acff2631bcb6d24043bc (patch)
treeb99f280a3a2df888498a8f7d41fba7ce714406d2
parentc0b5a5eb4be94038ce4d44e03cd14e2f5a844868 (diff)
downloadPeerTube-9ba1faa2eec339d4b9c8acff2631bcb6d24043bc.tar.gz
PeerTube-9ba1faa2eec339d4b9c8acff2631bcb6d24043bc.tar.zst
PeerTube-9ba1faa2eec339d4b9c8acff2631bcb6d24043bc.zip
Fix lowest email port
-rw-r--r--server/tests/shared/mock-servers/mock-email.ts2
1 files changed, 1 insertions, 1 deletions
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 {
12 12
13 collectEmails (emailsCollection: object[]) { 13 collectEmails (emailsCollection: object[]) {
14 return new Promise<number>((res, rej) => { 14 return new Promise<number>((res, rej) => {
15 const port = parallelTests() ? randomInt(1000, 2000) : 1025 15 const port = parallelTests() ? randomInt(1025, 2000) : 1025
16 this.emails = emailsCollection 16 this.emails = emailsCollection
17 17
18 if (this.started) { 18 if (this.started) {