aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/server/auto-follows.ts4
-rw-r--r--server/tests/api/server/config.ts4
2 files changed, 6 insertions, 2 deletions
diff --git a/server/tests/api/server/auto-follows.ts b/server/tests/api/server/auto-follows.ts
index ca6475bd5..90a668edb 100644
--- a/server/tests/api/server/auto-follows.ts
+++ b/server/tests/api/server/auto-follows.ts
@@ -186,6 +186,10 @@ describe('Test auto follows', function () {
186 await checkFollow(servers[0], servers[1], false) 186 await checkFollow(servers[0], servers[1], false)
187 await checkFollow(servers[0], servers[2], true) 187 await checkFollow(servers[0], servers[2], true)
188 }) 188 })
189
190 after(async function () {
191 await instanceIndexServer.terminate()
192 })
189 }) 193 })
190 194
191 after(async function () { 195 after(async function () {
diff --git a/server/tests/api/server/config.ts b/server/tests/api/server/config.ts
index 8363318f6..1d996d454 100644
--- a/server/tests/api/server/config.ts
+++ b/server/tests/api/server/config.ts
@@ -379,14 +379,14 @@ describe('Test static config', function () {
379 before(async function () { 379 before(async function () {
380 this.timeout(30000) 380 this.timeout(30000)
381 381
382 server = await createSingleServer(1, { webadmin: { configuration: { edit: { allowed: false } } } }) 382 server = await createSingleServer(1, { webadmin: { configuration: { edition: { allowed: false } } } })
383 await setAccessTokensToServers([ server ]) 383 await setAccessTokensToServers([ server ])
384 }) 384 })
385 385
386 it('Should tell the client that edits are not allowed', async function () { 386 it('Should tell the client that edits are not allowed', async function () {
387 const data = await server.config.getConfig() 387 const data = await server.config.getConfig()
388 388
389 expect(data.allowEdits).to.be.false 389 expect(data.webadmin.configuration.edition.allowed).to.be.false
390 }) 390 })
391 391
392 it('Should error when client tries to update', async function () { 392 it('Should error when client tries to update', async function () {