Fix search tests
This commit is contained in:
parent
dd0ebb7151
commit
5e2fea3ab9
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue