aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-13 11:52:42 +0200
committerChocobozzz <me@florianbigard.com>2021-10-13 11:52:42 +0200
commitf87d82b93d474d1290b3c641e63a39197193cb7e (patch)
tree1dc7740aa0ce2cbef23559387ff00f5ce5fb8869 /server/tests/api
parent9db437c8155f3563a33e22ed2896072a9f1fbdb0 (diff)
downloadPeerTube-f87d82b93d474d1290b3c641e63a39197193cb7e.tar.gz
PeerTube-f87d82b93d474d1290b3c641e63a39197193cb7e.tar.zst
PeerTube-f87d82b93d474d1290b3c641e63a39197193cb7e.zip
Fix config test cleanup
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/server/config.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/tests/api/server/config.ts b/server/tests/api/server/config.ts
index e057ec1a2..8363318f6 100644
--- a/server/tests/api/server/config.ts
+++ b/server/tests/api/server/config.ts
@@ -392,6 +392,10 @@ describe('Test static config', function () {
392 it('Should error when client tries to update', async function () { 392 it('Should error when client tries to update', async function () {
393 await server.config.updateCustomConfig({ newCustomConfig, expectedStatus: 405 }) 393 await server.config.updateCustomConfig({ newCustomConfig, expectedStatus: 405 })
394 }) 394 })
395
396 after(async function () {
397 await cleanupTests([ server ])
398 })
395}) 399})
396 400
397describe('Test config', function () { 401describe('Test config', function () {