diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-12 16:06:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 5e2fea3ab9357c228b5d21166092f9a2368e258e (patch) | |
tree | 96527159423a0d7715aed1c9142fad116a427a01 /shared | |
parent | dd0ebb715123dfa126a82d4e4fe3a04064ae77b8 (diff) | |
download | PeerTube-5e2fea3ab9357c228b5d21166092f9a2368e258e.tar.gz PeerTube-5e2fea3ab9357c228b5d21166092f9a2368e258e.tar.zst PeerTube-5e2fea3ab9357c228b5d21166092f9a2368e258e.zip |
Fix search tests
Diffstat (limited to 'shared')
-rw-r--r-- | shared/extra-utils/search/search-command.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 | }) |