diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-27 13:53:54 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-27 13:53:54 +0100 |
commit | 8d1f78044ca6eb9995001d3ab83be62460e043a6 (patch) | |
tree | 5b0cf63de96fdc67ef7aaa10af4969d9578406f0 /server/tests/api/check-params | |
parent | 5b94394a1a6d471f897d14ac62fe7bec5f9a74c2 (diff) | |
download | PeerTube-8d1f78044ca6eb9995001d3ab83be62460e043a6.tar.gz PeerTube-8d1f78044ca6eb9995001d3ab83be62460e043a6.tar.zst PeerTube-8d1f78044ca6eb9995001d3ab83be62460e043a6.zip |
Add ability to disable http duration OTEL metrics
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r-- | server/tests/api/check-params/users-emails.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/tests/api/check-params/users-emails.ts b/server/tests/api/check-params/users-emails.ts index 8cfb1d15f..6ebcc8ffe 100644 --- a/server/tests/api/check-params/users-emails.ts +++ b/server/tests/api/check-params/users-emails.ts | |||
@@ -1,5 +1,4 @@ | |||
1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ | 1 | /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ |
2 | import { MockSmtpServer } from '@server/tests/shared' | ||
3 | import { HttpStatusCode, UserRole } from '@shared/models' | 2 | import { HttpStatusCode, UserRole } from '@shared/models' |
4 | import { cleanupTests, createSingleServer, makePostBodyRequest, PeerTubeServer, setAccessTokensToServers } from '@shared/server-commands' | 3 | import { cleanupTests, createSingleServer, makePostBodyRequest, PeerTubeServer, setAccessTokensToServers } from '@shared/server-commands' |
5 | 4 | ||
@@ -112,8 +111,6 @@ describe('Test users API validators', function () { | |||
112 | }) | 111 | }) |
113 | 112 | ||
114 | after(async function () { | 113 | after(async function () { |
115 | MockSmtpServer.Instance.kill() | ||
116 | |||
117 | await cleanupTests([ server ]) | 114 | await cleanupTests([ server ]) |
118 | }) | 115 | }) |
119 | }) | 116 | }) |