diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-08 15:51:52 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-01-09 11:15:15 +0100 |
commit | 89ada4e26ca1df8ff0dd02acda1d1661f121a294 (patch) | |
tree | b8c8d373d8140227c3b73bbf14d5e1b15d877ee2 /server/tests/api/users/users-verification.ts | |
parent | 43483d12963ed7a82adee2e35a7bcb7e55e54b3e (diff) | |
download | PeerTube-89ada4e26ca1df8ff0dd02acda1d1661f121a294.tar.gz PeerTube-89ada4e26ca1df8ff0dd02acda1d1661f121a294.tar.zst PeerTube-89ada4e26ca1df8ff0dd02acda1d1661f121a294.zip |
Fix socket.io websocket connection
Diffstat (limited to 'server/tests/api/users/users-verification.ts')
-rw-r--r-- | server/tests/api/users/users-verification.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/api/users/users-verification.ts b/server/tests/api/users/users-verification.ts index afc8a0059..babeda2b8 100644 --- a/server/tests/api/users/users-verification.ts +++ b/server/tests/api/users/users-verification.ts | |||
@@ -4,7 +4,7 @@ import * as chai from 'chai' | |||
4 | import 'mocha' | 4 | import 'mocha' |
5 | import { | 5 | import { |
6 | registerUser, flushTests, getUserInformation, getMyUserInformation, killallServers, | 6 | registerUser, flushTests, getUserInformation, getMyUserInformation, killallServers, |
7 | userLogin, login, runServer, ServerInfo, verifyEmail, updateCustomSubConfig | 7 | userLogin, login, runServer, ServerInfo, verifyEmail, updateCustomSubConfig, wait |
8 | } from '../../../../shared/utils' | 8 | } from '../../../../shared/utils' |
9 | import { setAccessTokensToServers } from '../../../../shared/utils/users/login' | 9 | import { setAccessTokensToServers } from '../../../../shared/utils/users/login' |
10 | import { MockSmtpServer } from '../../../../shared/utils/miscs/email' | 10 | import { MockSmtpServer } from '../../../../shared/utils/miscs/email' |
@@ -123,6 +123,7 @@ describe('Test users account verification', function () { | |||
123 | }) | 123 | }) |
124 | 124 | ||
125 | after(async function () { | 125 | after(async function () { |
126 | MockSmtpServer.Instance.kill() | ||
126 | killallServers([ server ]) | 127 | killallServers([ server ]) |
127 | 128 | ||
128 | // Keep the logs if the test failed | 129 | // Keep the logs if the test failed |