diff options
-rw-r--r-- | server/tools/test-live.ts | 2 | ||||
-rw-r--r-- | shared/extra-utils/search/search-command.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/tools/test-live.ts b/server/tools/test-live.ts index 3d1198d9c..7004e98e8 100644 --- a/server/tools/test-live.ts +++ b/server/tools/test-live.ts | |||
@@ -38,7 +38,7 @@ async function run () { | |||
38 | 38 | ||
39 | const server = await flushAndRunServer(1, {}, [], { hideLogs: false, execArgv: [ '--inspect' ] }) | 39 | const server = await flushAndRunServer(1, {}, [], { hideLogs: false, execArgv: [ '--inspect' ] }) |
40 | 40 | ||
41 | const cleanup = async () => { | 41 | const cleanup = async () => { |
42 | console.log('Killing server') | 42 | console.log('Killing server') |
43 | await killallServers([ server ]) | 43 | await killallServers([ server ]) |
44 | } | 44 | } |
diff --git a/shared/extra-utils/search/search-command.ts b/shared/extra-utils/search/search-command.ts index b6054f093..7539a21ec 100644 --- a/shared/extra-utils/search/search-command.ts +++ b/shared/extra-utils/search/search-command.ts | |||
@@ -90,7 +90,7 @@ export class SearchCommand extends AbstractCommand { | |||
90 | ...options, | 90 | ...options, |
91 | 91 | ||
92 | path, | 92 | path, |
93 | query: { sort: '-publishedAt', ...search }, | 93 | query: search, |
94 | implicitToken: false, | 94 | implicitToken: false, |
95 | defaultExpectedStatus: HttpStatusCode.OK_200 | 95 | defaultExpectedStatus: HttpStatusCode.OK_200 |
96 | }) | 96 | }) |