From e39cfd1d9136a3378aa9f628c7bbd5d8bf556816 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 22 Oct 2019 09:25:35 +0200 Subject: Fix misc tests --- server/tests/api/server/follow-constraints.ts | 2 +- server/tests/misc-endpoints.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests') diff --git a/server/tests/api/server/follow-constraints.ts b/server/tests/api/server/follow-constraints.ts index ac3ff37f0..46663bf7c 100644 --- a/server/tests/api/server/follow-constraints.ts +++ b/server/tests/api/server/follow-constraints.ts @@ -27,7 +27,7 @@ describe('Test follow constraints', function () { let userAccessToken: string before(async function () { - this.timeout(30000) + this.timeout(60000) servers = await flushAndRunMultipleServers(2) diff --git a/server/tests/misc-endpoints.ts b/server/tests/misc-endpoints.ts index ed406e1bc..ab2dd3a0f 100644 --- a/server/tests/misc-endpoints.ts +++ b/server/tests/misc-endpoints.ts @@ -158,9 +158,9 @@ describe('Test misc endpoints', function () { expect(res.text).to.contain('xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"') expect(res.text).to.contain('http://localhost:9001/about/instance') - expect(res.text).to.contain('') - expect(res.text).to.contain('') - expect(res.text).to.not.contain('') + expect(res.text).to.contain('video 1') + expect(res.text).to.contain('video 2') + expect(res.text).to.not.contain('video 3') expect(res.text).to.contain('http://localhost:9001/video-channels/channel1') expect(res.text).to.contain('http://localhost:9001/video-channels/channel2') -- cgit v1.2.3