aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-12 16:06:57 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:18 +0200
commit5e2fea3ab9357c228b5d21166092f9a2368e258e (patch)
tree96527159423a0d7715aed1c9142fad116a427a01
parentdd0ebb715123dfa126a82d4e4fe3a04064ae77b8 (diff)
downloadPeerTube-5e2fea3ab9357c228b5d21166092f9a2368e258e.tar.gz
PeerTube-5e2fea3ab9357c228b5d21166092f9a2368e258e.tar.zst
PeerTube-5e2fea3ab9357c228b5d21166092f9a2368e258e.zip
Fix search tests
-rw-r--r--server/tools/test-live.ts2
-rw-r--r--shared/extra-utils/search/search-command.ts2
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 })