]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/users/users-verification.ts
Add ability to specify channel on registration
[github/Chocobozzz/PeerTube.git] / server / tests / api / users / users-verification.ts
index 514acf2e7daf2de90b9262e1caab68c04b39f04d..3b37a26cfe2721a85aba227e1e34f4636da89d6b 100644 (file)
@@ -30,11 +30,12 @@ describe('Test users account verification', function () {
   before(async function () {
     this.timeout(30000)
 
-    await MockSmtpServer.Instance.collectEmails(emails)
+    const port = await MockSmtpServer.Instance.collectEmails(emails)
 
     const overrideConfig = {
       smtp: {
-        hostname: 'localhost'
+        hostname: 'localhost',
+        port
       }
     }
     server = await flushAndRunServer(1, overrideConfig)