]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/check-params/config.ts
add default trending page choice, revert comments count for hot strategy
[github/Chocobozzz/PeerTube.git] / server / tests / api / check-params / config.ts
index e36cdeab2cefd661418e4707a4ea9a18c76a62f9..e58e0cd9f0524654ab694d79ad8a8e2a41fe2704 100644 (file)
@@ -41,8 +41,16 @@ describe('Test config API validators', function () {
       categories: [ 1, 2 ],
 
       isNSFW: true,
-      defaultClientRoute: '/videos/recently-added',
       defaultNSFWPolicy: 'blur',
+
+      defaultClientRoute: '/videos/recently-added',
+      defaultTrendingRoute: '/videos/trending',
+      pages: {
+        hot: {
+          enabled: true
+        }
+      },
+
       customizations: {
         javascript: 'alert("coucou")',
         css: 'body { background-color: red; }'