aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-nsfw.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/videos/video-nsfw.ts')
-rw-r--r--server/tests/api/videos/video-nsfw.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-nsfw.ts b/server/tests/api/videos/video-nsfw.ts
index 5f30939cc..c9c3792eb 100644
--- a/server/tests/api/videos/video-nsfw.ts
+++ b/server/tests/api/videos/video-nsfw.ts
@@ -43,7 +43,7 @@ describe('Test video NSFW policy', function () {
43 if (token) { 43 if (token) {
44 promises = [ 44 promises = [
45 getVideosListWithToken(server.url, token, query).then(res => res.body), 45 getVideosListWithToken(server.url, token, query).then(res => res.body),
46 server.searchCommand.advancedVideoSearch({ token, search: { search: 'n', ...query } }), 46 server.searchCommand.advancedVideoSearch({ token, search: { search: 'n', sort: '-publishedAt', ...query } }),
47 getAccountVideos(server.url, token, accountName, 0, 5, undefined, query).then(res => res.body), 47 getAccountVideos(server.url, token, accountName, 0, 5, undefined, query).then(res => res.body),
48 getVideoChannelVideos(server.url, token, videoChannelName, 0, 5, undefined, query).then(res => res.body) 48 getVideoChannelVideos(server.url, token, videoChannelName, 0, 5, undefined, query).then(res => res.body)
49 ] 49 ]
@@ -60,7 +60,7 @@ describe('Test video NSFW policy', function () {
60 60
61 promises = [ 61 promises = [
62 getVideosList(server.url).then(res => res.body), 62 getVideosList(server.url).then(res => res.body),
63 server.searchCommand.searchVideos({ search: 'n' }), 63 server.searchCommand.searchVideos({ search: 'n', sort: '-publishedAt' }),
64 getAccountVideos(server.url, undefined, accountName, 0, 5).then(res => res.body), 64 getAccountVideos(server.url, undefined, accountName, 0, 5).then(res => res.body),
65 getVideoChannelVideos(server.url, undefined, videoChannelName, 0, 5).then(res => res.body) 65 getVideoChannelVideos(server.url, undefined, videoChannelName, 0, 5).then(res => res.body)
66 ] 66 ]