aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-03 14:04:52 +0200
committerChocobozzz <me@florianbigard.com>2022-06-03 14:04:52 +0200
commit010382b6037cff5d0ed16fa8b158691439fac9b7 (patch)
treed1c7fd25525fb1d87f3f9b851c5dcbc772cf6720 /server/tests
parentc8fdfab0e36cc7324c61710009bf334e836485d9 (diff)
downloadPeerTube-010382b6037cff5d0ed16fa8b158691439fac9b7.tar.gz
PeerTube-010382b6037cff5d0ed16fa8b158691439fac9b7.tar.zst
PeerTube-010382b6037cff5d0ed16fa8b158691439fac9b7.zip
Completely remove best default trending algorithm
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/check-params/config.ts2
-rw-r--r--server/tests/api/server/config.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts
index c8dbbf797..99fb24a5b 100644
--- a/server/tests/api/check-params/config.ts
+++ b/server/tests/api/check-params/config.ts
@@ -165,7 +165,7 @@ describe('Test config API validators', function () {
165 trending: { 165 trending: {
166 videos: { 166 videos: {
167 algorithms: { 167 algorithms: {
168 enabled: [ 'best', 'hot', 'most-viewed', 'most-liked' ], 168 enabled: [ 'hot', 'most-viewed', 'most-liked' ],
169 default: 'most-viewed' 169 default: 'most-viewed'
170 } 170 }
171 } 171 }
diff --git a/server/tests/api/server/config.ts b/server/tests/api/server/config.ts
index f31012a5c..0f2fb5493 100644
--- a/server/tests/api/server/config.ts
+++ b/server/tests/api/server/config.ts
@@ -367,7 +367,7 @@ const newCustomConfig: CustomConfig = {
367 trending: { 367 trending: {
368 videos: { 368 videos: {
369 algorithms: { 369 algorithms: {
370 enabled: [ 'best', 'hot', 'most-viewed', 'most-liked' ], 370 enabled: [ 'hot', 'most-viewed', 'most-liked' ],
371 default: 'hot' 371 default: 'hot'
372 } 372 }
373 } 373 }