aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/fixtures/peertube-plugin-test-video-constants
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/fixtures/peertube-plugin-test-video-constants')
-rw-r--r--server/tests/fixtures/peertube-plugin-test-video-constants/main.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test-video-constants/main.js b/server/tests/fixtures/peertube-plugin-test-video-constants/main.js
index f44704a44..06527bd35 100644
--- a/server/tests/fixtures/peertube-plugin-test-video-constants/main.js
+++ b/server/tests/fixtures/peertube-plugin-test-video-constants/main.js
@@ -7,24 +7,26 @@ async function register ({
7 getRouter 7 getRouter
8}) { 8}) {
9 videoLanguageManager.addConstant('al_bhed', 'Al Bhed') 9 videoLanguageManager.addConstant('al_bhed', 'Al Bhed')
10 videoLanguageManager.addConstant('al_bhed2', 'Al Bhed 2') 10 videoLanguageManager.addLanguage('al_bhed2', 'Al Bhed 2')
11 videoLanguageManager.addConstant('al_bhed3', 'Al Bhed 3') 11 videoLanguageManager.addConstant('al_bhed3', 'Al Bhed 3')
12 videoLanguageManager.deleteConstant('en') 12 videoLanguageManager.deleteConstant('en')
13 videoLanguageManager.deleteConstant('fr') 13 videoLanguageManager.deleteLanguage('fr')
14 videoLanguageManager.deleteConstant('al_bhed3') 14 videoLanguageManager.deleteConstant('al_bhed3')
15 15
16 videoCategoryManager.addConstant(42, 'Best category') 16 videoCategoryManager.addCategory(42, 'Best category')
17 videoCategoryManager.addConstant(43, 'High best category') 17 videoCategoryManager.addConstant(43, 'High best category')
18 videoCategoryManager.deleteConstant(1) // Music 18 videoCategoryManager.deleteConstant(1) // Music
19 videoCategoryManager.deleteConstant(2) // Films 19 videoCategoryManager.deleteCategory(2) // Films
20 20
21 videoLicenceManager.addConstant(42, 'Best licence') 21 videoLicenceManager.addLicence(42, 'Best licence')
22 videoLicenceManager.addConstant(43, 'High best licence') 22 videoLicenceManager.addConstant(43, 'High best licence')
23 videoLicenceManager.deleteConstant(1) // Attribution 23 videoLicenceManager.deleteConstant(1) // Attribution
24 videoLicenceManager.deleteConstant(7) // Public domain 24 videoLicenceManager.deleteConstant(7) // Public domain
25 25
26 videoPrivacyManager.deleteConstant(2) 26 videoPrivacyManager.deleteConstant(2)
27 videoPrivacyManager.deletePrivacy(2)
27 playlistPrivacyManager.deleteConstant(3) 28 playlistPrivacyManager.deleteConstant(3)
29 playlistPrivacyManager.deletePlaylistPrivacy(3)
28 30
29 { 31 {
30 const router = getRouter() 32 const router = getRouter()