X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fsearch%2Fsearch-index.ts;h=21473b6bf0a02e991996b7dadbd321204a490a36;hb=17ecdf61ce1d374cc8ba17601b93c9bda08112b2;hp=eae4391ec99a5cd1e7b96c689e52561ec60c0a97;hpb=fbad149ff2da2bb0b2fd33b2c8bc7e398f5a12b5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/search/search-index.ts b/server/tests/api/search/search-index.ts index eae4391ec..21473b6bf 100644 --- a/server/tests/api/search/search-index.ts +++ b/server/tests/api/search/search-index.ts @@ -32,8 +32,6 @@ describe('Test index search', function () { describe('Default search', async function () { it('Should make a local videos search by default', async function () { - this.timeout(10000) - await server.config.updateCustomSubConfig({ newConfig: { search: { @@ -57,7 +55,7 @@ describe('Test index search', function () { expect(body.total).to.equal(1) expect(body.data[0].name).to.equal('root_channel') - expect(body.data[0].host).to.equal('localhost:' + server.port) + expect(body.data[0].host).to.equal(server.host) }) it('Should make an index videos search by default', async function () {