diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-19 15:33:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-19 15:33:26 +0200 |
commit | 9ba1faa2eec339d4b9c8acff2631bcb6d24043bc (patch) | |
tree | b99f280a3a2df888498a8f7d41fba7ce714406d2 /server/tests/shared/mock-servers | |
parent | c0b5a5eb4be94038ce4d44e03cd14e2f5a844868 (diff) | |
download | PeerTube-9ba1faa2eec339d4b9c8acff2631bcb6d24043bc.tar.gz PeerTube-9ba1faa2eec339d4b9c8acff2631bcb6d24043bc.tar.zst PeerTube-9ba1faa2eec339d4b9c8acff2631bcb6d24043bc.zip |
Fix lowest email port
Diffstat (limited to 'server/tests/shared/mock-servers')
-rw-r--r-- | server/tests/shared/mock-servers/mock-email.ts | 2 |
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) { |