Verified Commit 5e2fea3a authored by Chocobozzz's avatar Chocobozzz
Browse files

Fix search tests

parent dd0ebb71
......@@ -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
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment