Fix search tests

This commit is contained in:
Chocobozzz 2021-07-12 16:06:57 +02:00
parent dd0ebb7151
commit 5e2fea3ab9
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -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 ])
}

View File

@ -90,7 +90,7 @@ export class SearchCommand extends AbstractCommand {
...options,
path,
query: { sort: '-publishedAt', ...search },
query: search,
implicitToken: false,
defaultExpectedStatus: HttpStatusCode.OK_200
})