mirror of https://github.com/Chocobozzz/PeerTube
Fix search tests
parent
dd0ebb7151
commit
5e2fea3ab9
|
@ -38,7 +38,7 @@ async function run () {
|
|||
|
||||
const server = await flushAndRunServer(1, {}, [], { hideLogs: false, execArgv: [ '--inspect' ] })
|
||||
|
||||
const cleanup = async () => {
|
||||
const cleanup = async () => {
|
||||
console.log('Killing server')
|
||||
await killallServers([ server ])
|
||||
}
|
||||
|
|
|
@ -90,7 +90,7 @@ export class SearchCommand extends AbstractCommand {
|
|||
...options,
|
||||
|
||||
path,
|
||||
query: { sort: '-publishedAt', ...search },
|
||||
query: search,
|
||||
implicitToken: false,
|
||||
defaultExpectedStatus: HttpStatusCode.OK_200
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue