-
- it('Should make an index videos search if local search is disabled', async function () {
- await server.config.updateCustomSubConfig({
- newConfig: {
- search: {
- searchIndex: {
- enabled: true,
- isDefaultSearch: false,
- disableLocalSearch: true
- }
- }
- }
- })
-
- const body = await command.searchVideos({ search: 'local video' })
- expect(body.total).to.be.greaterThan(2)
- })
-
- it('Should make an index channels search if local search is disabled', async function () {
- const body = await command.searchChannels({ search: 'root' })
- expect(body.total).to.be.greaterThan(2)
- })