Rename downloadingEnabled property to downloadEnabled

This commit is contained in:
Lucas Declercq
2018-10-08 14:45:22 +02:00
parent 4ffdcfc63b
commit 7f2cfe3a79
35 changed files with 64 additions and 64 deletions

View File

@@ -84,7 +84,7 @@ describe('Test video imports API validator', function () {
language: 'pt',
nsfw: false,
commentsEnabled: true,
downloadingEnabled: true,
downloadEnabled: true,
waitTranscoding: true,
description: 'my super description',
support: 'my super support text',

View File

@@ -175,7 +175,7 @@ describe('Test videos API validator', function () {
language: 'pt',
nsfw: false,
commentsEnabled: true,
downloadingEnabled: true,
downloadEnabled: true,
waitTranscoding: true,
description: 'my super description',
support: 'my super support text',
@@ -420,7 +420,7 @@ describe('Test videos API validator', function () {
language: 'pt',
nsfw: false,
commentsEnabled: false,
downloadingEnabled: false,
downloadEnabled: false,
description: 'my super description',
privacy: VideoPrivacy.PUBLIC,
tags: [ 'tag1', 'tag2' ]

View File

@@ -305,7 +305,7 @@ describe('Test follows', function () {
},
isLocal,
commentsEnabled: true,
downloadingEnabled: true,
downloadEnabled: true,
duration: 5,
tags: [ 'tag1', 'tag2', 'tag3' ],
privacy: VideoPrivacy.PUBLIC,

View File

@@ -70,7 +70,7 @@ describe('Test handle downs', function () {
tags: [ 'tag1p1', 'tag2p1' ],
privacy: VideoPrivacy.PUBLIC,
commentsEnabled: true,
downloadingEnabled: true,
downloadEnabled: true,
channel: {
name: 'root_channel',
displayName: 'Main root channel',

View File

@@ -127,7 +127,7 @@ describe('Test multiple servers', function () {
tags: [ 'tag1p1', 'tag2p1' ],
privacy: VideoPrivacy.PUBLIC,
commentsEnabled: true,
downloadingEnabled: true,
downloadEnabled: true,
channel: {
displayName: 'my channel',
name: 'super_channel_name',
@@ -199,7 +199,7 @@ describe('Test multiple servers', function () {
},
isLocal,
commentsEnabled: true,
downloadingEnabled: true,
downloadEnabled: true,
duration: 5,
tags: [ 'tag1p2', 'tag2p2', 'tag3p2' ],
privacy: VideoPrivacy.PUBLIC,
@@ -308,7 +308,7 @@ describe('Test multiple servers', function () {
isLocal,
duration: 5,
commentsEnabled: true,
downloadingEnabled: true,
downloadEnabled: true,
tags: [ 'tag1p3' ],
privacy: VideoPrivacy.PUBLIC,
channel: {
@@ -340,7 +340,7 @@ describe('Test multiple servers', function () {
host: 'localhost:9003'
},
commentsEnabled: true,
downloadingEnabled: true,
downloadEnabled: true,
isLocal,
duration: 5,
tags: [ 'tag2p3', 'tag3p3', 'tag4p3' ],
@@ -658,7 +658,7 @@ describe('Test multiple servers', function () {
isLocal,
duration: 5,
commentsEnabled: true,
downloadingEnabled: true,
downloadEnabled: true,
tags: [ 'tag_up_1', 'tag_up_2' ],
privacy: VideoPrivacy.PUBLIC,
channel: {
@@ -980,7 +980,7 @@ describe('Test multiple servers', function () {
isLocal,
duration: 5,
commentsEnabled: false,
downloadingEnabled: false,
downloadEnabled: false,
tags: [ ],
privacy: VideoPrivacy.PUBLIC,
channel: {

View File

@@ -55,7 +55,7 @@ describe('Test a single server', function () {
tags: [ 'tag1', 'tag2', 'tag3' ],
privacy: VideoPrivacy.PUBLIC,
commentsEnabled: true,
downloadingEnabled: true,
downloadEnabled: true,
channel: {
displayName: 'Main root channel',
name: 'root_channel',
@@ -88,7 +88,7 @@ describe('Test a single server', function () {
privacy: VideoPrivacy.PUBLIC,
duration: 5,
commentsEnabled: false,
downloadingEnabled: false,
downloadEnabled: false,
channel: {
name: 'root_channel',
displayName: 'Main root channel',
@@ -358,7 +358,7 @@ describe('Test a single server', function () {
nsfw: false,
description: 'my super description updated',
commentsEnabled: false,
downloadingEnabled: false,
downloadEnabled: false,
tags: [ 'tagup1', 'tagup2' ]
}
await updateVideo(server.url, server.accessToken, videoId, attributes)