diff options
Diffstat (limited to 'server/tests/api/check-params/config.ts')
-rw-r--r-- | server/tests/api/check-params/config.ts | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts index e58e0cd9f..d3ae5fe0a 100644 --- a/server/tests/api/check-params/config.ts +++ b/server/tests/api/check-params/config.ts | |||
@@ -44,12 +44,6 @@ describe('Test config API validators', function () { | |||
44 | defaultNSFWPolicy: 'blur', | 44 | defaultNSFWPolicy: 'blur', |
45 | 45 | ||
46 | defaultClientRoute: '/videos/recently-added', | 46 | defaultClientRoute: '/videos/recently-added', |
47 | defaultTrendingRoute: '/videos/trending', | ||
48 | pages: { | ||
49 | hot: { | ||
50 | enabled: true | ||
51 | } | ||
52 | }, | ||
53 | 47 | ||
54 | customizations: { | 48 | customizations: { |
55 | javascript: 'alert("coucou")', | 49 | javascript: 'alert("coucou")', |
@@ -142,6 +136,14 @@ describe('Test config API validators', function () { | |||
142 | } | 136 | } |
143 | } | 137 | } |
144 | }, | 138 | }, |
139 | trending: { | ||
140 | videos: { | ||
141 | algorithms: { | ||
142 | enabled: [ 'hot', 'most-viewed', 'most-liked' ], | ||
143 | default: 'most-viewed' | ||
144 | } | ||
145 | } | ||
146 | }, | ||
145 | autoBlacklist: { | 147 | autoBlacklist: { |
146 | videos: { | 148 | videos: { |
147 | ofUsers: { | 149 | ofUsers: { |