aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/multiple-servers.ts
diff options
context:
space:
mode:
authorLucas Declercq <lucas.declercq@ineat-conseil.fr>2018-10-06 19:17:21 +0200
committerLucas Declercq <lucas.declercq@ineat-conseil.fr>2018-10-06 19:17:39 +0200
commit156c50af3085468a47b8ae73fe8cfcae46b42398 (patch)
treef316355ebea2550c201a880cfc9f9b724bf0f7fd /server/tests/api/videos/multiple-servers.ts
parent35d50b7dd26b3cf646b8845784927bb1ef18dfb3 (diff)
downloadPeerTube-156c50af3085468a47b8ae73fe8cfcae46b42398.tar.gz
PeerTube-156c50af3085468a47b8ae73fe8cfcae46b42398.tar.zst
PeerTube-156c50af3085468a47b8ae73fe8cfcae46b42398.zip
Add downloadingEnabled property to video model
Diffstat (limited to 'server/tests/api/videos/multiple-servers.ts')
-rw-r--r--server/tests/api/videos/multiple-servers.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts
index 4553ee855..83e391ccd 100644
--- a/server/tests/api/videos/multiple-servers.ts
+++ b/server/tests/api/videos/multiple-servers.ts
@@ -127,6 +127,7 @@ describe('Test multiple servers', function () {
127 tags: [ 'tag1p1', 'tag2p1' ], 127 tags: [ 'tag1p1', 'tag2p1' ],
128 privacy: VideoPrivacy.PUBLIC, 128 privacy: VideoPrivacy.PUBLIC,
129 commentsEnabled: true, 129 commentsEnabled: true,
130 downloadingEnabled: true,
130 channel: { 131 channel: {
131 displayName: 'my channel', 132 displayName: 'my channel',
132 name: 'super_channel_name', 133 name: 'super_channel_name',
@@ -198,6 +199,7 @@ describe('Test multiple servers', function () {
198 }, 199 },
199 isLocal, 200 isLocal,
200 commentsEnabled: true, 201 commentsEnabled: true,
202 downloadingEnabled: true,
201 duration: 5, 203 duration: 5,
202 tags: [ 'tag1p2', 'tag2p2', 'tag3p2' ], 204 tags: [ 'tag1p2', 'tag2p2', 'tag3p2' ],
203 privacy: VideoPrivacy.PUBLIC, 205 privacy: VideoPrivacy.PUBLIC,
@@ -306,6 +308,7 @@ describe('Test multiple servers', function () {
306 isLocal, 308 isLocal,
307 duration: 5, 309 duration: 5,
308 commentsEnabled: true, 310 commentsEnabled: true,
311 downloadingEnabled: true,
309 tags: [ 'tag1p3' ], 312 tags: [ 'tag1p3' ],
310 privacy: VideoPrivacy.PUBLIC, 313 privacy: VideoPrivacy.PUBLIC,
311 channel: { 314 channel: {
@@ -337,6 +340,7 @@ describe('Test multiple servers', function () {
337 host: 'localhost:9003' 340 host: 'localhost:9003'
338 }, 341 },
339 commentsEnabled: true, 342 commentsEnabled: true,
343 downloadingEnabled: true,
340 isLocal, 344 isLocal,
341 duration: 5, 345 duration: 5,
342 tags: [ 'tag2p3', 'tag3p3', 'tag4p3' ], 346 tags: [ 'tag2p3', 'tag3p3', 'tag4p3' ],
@@ -654,6 +658,7 @@ describe('Test multiple servers', function () {
654 isLocal, 658 isLocal,
655 duration: 5, 659 duration: 5,
656 commentsEnabled: true, 660 commentsEnabled: true,
661 downloadingEnabled: true,
657 tags: [ 'tag_up_1', 'tag_up_2' ], 662 tags: [ 'tag_up_1', 'tag_up_2' ],
658 privacy: VideoPrivacy.PUBLIC, 663 privacy: VideoPrivacy.PUBLIC,
659 channel: { 664 channel: {
@@ -975,6 +980,7 @@ describe('Test multiple servers', function () {
975 isLocal, 980 isLocal,
976 duration: 5, 981 duration: 5,
977 commentsEnabled: false, 982 commentsEnabled: false,
983 downloadingEnabled: false,
978 tags: [ ], 984 tags: [ ],
979 privacy: VideoPrivacy.PUBLIC, 985 privacy: VideoPrivacy.PUBLIC,
980 channel: { 986 channel: {