diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-17 15:45:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 09:41:54 +0200 |
commit | 8a19bee1a1ee39f973bb37429e4f73c3f2873cdb (patch) | |
tree | 33c93ef19451d7e46d4be74ce0681359d2dcc70e /server/tests/api/videos/multiple-servers.ts | |
parent | 965c4b22d0e4d2f853501e844e6ebbb861bd389d (diff) | |
download | PeerTube-8a19bee1a1ee39f973bb37429e4f73c3f2873cdb.tar.gz PeerTube-8a19bee1a1ee39f973bb37429e4f73c3f2873cdb.tar.zst PeerTube-8a19bee1a1ee39f973bb37429e4f73c3f2873cdb.zip |
Add ability to set a name to a channel
Diffstat (limited to 'server/tests/api/videos/multiple-servers.ts')
-rw-r--r-- | server/tests/api/videos/multiple-servers.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts index cab096a12..3c3839338 100644 --- a/server/tests/api/videos/multiple-servers.ts +++ b/server/tests/api/videos/multiple-servers.ts | |||
@@ -6,7 +6,6 @@ import { join } from 'path' | |||
6 | import * as request from 'supertest' | 6 | import * as request from 'supertest' |
7 | import { VideoPrivacy } from '../../../../shared/models/videos' | 7 | import { VideoPrivacy } from '../../../../shared/models/videos' |
8 | import { VideoComment, VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model' | 8 | import { VideoComment, VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model' |
9 | |||
10 | import { | 9 | import { |
11 | addVideoChannel, | 10 | addVideoChannel, |
12 | checkVideoFilesWereRemoved, | 11 | checkVideoFilesWereRemoved, |
@@ -60,6 +59,7 @@ describe('Test multiple servers', function () { | |||
60 | 59 | ||
61 | { | 60 | { |
62 | const videoChannel = { | 61 | const videoChannel = { |
62 | name: 'super_channel_name', | ||
63 | displayName: 'my channel', | 63 | displayName: 'my channel', |
64 | description: 'super channel' | 64 | description: 'super channel' |
65 | } | 65 | } |
@@ -201,7 +201,7 @@ describe('Test multiple servers', function () { | |||
201 | tags: [ 'tag1p2', 'tag2p2', 'tag3p2' ], | 201 | tags: [ 'tag1p2', 'tag2p2', 'tag3p2' ], |
202 | privacy: VideoPrivacy.PUBLIC, | 202 | privacy: VideoPrivacy.PUBLIC, |
203 | channel: { | 203 | channel: { |
204 | name: 'Default user1 channel', | 204 | name: 'Main user1 channel', |
205 | description: 'super channel', | 205 | description: 'super channel', |
206 | isLocal | 206 | isLocal |
207 | }, | 207 | }, |
@@ -307,7 +307,7 @@ describe('Test multiple servers', function () { | |||
307 | tags: [ 'tag1p3' ], | 307 | tags: [ 'tag1p3' ], |
308 | privacy: VideoPrivacy.PUBLIC, | 308 | privacy: VideoPrivacy.PUBLIC, |
309 | channel: { | 309 | channel: { |
310 | name: 'Default root channel', | 310 | name: 'Main root channel', |
311 | description: '', | 311 | description: '', |
312 | isLocal | 312 | isLocal |
313 | }, | 313 | }, |
@@ -339,7 +339,7 @@ describe('Test multiple servers', function () { | |||
339 | tags: [ 'tag2p3', 'tag3p3', 'tag4p3' ], | 339 | tags: [ 'tag2p3', 'tag3p3', 'tag4p3' ], |
340 | privacy: VideoPrivacy.PUBLIC, | 340 | privacy: VideoPrivacy.PUBLIC, |
341 | channel: { | 341 | channel: { |
342 | name: 'Default root channel', | 342 | name: 'Main root channel', |
343 | description: '', | 343 | description: '', |
344 | isLocal | 344 | isLocal |
345 | }, | 345 | }, |
@@ -647,7 +647,7 @@ describe('Test multiple servers', function () { | |||
647 | tags: [ 'tag_up_1', 'tag_up_2' ], | 647 | tags: [ 'tag_up_1', 'tag_up_2' ], |
648 | privacy: VideoPrivacy.PUBLIC, | 648 | privacy: VideoPrivacy.PUBLIC, |
649 | channel: { | 649 | channel: { |
650 | name: 'Default root channel', | 650 | name: 'Main root channel', |
651 | description: '', | 651 | description: '', |
652 | isLocal | 652 | isLocal |
653 | }, | 653 | }, |
@@ -967,7 +967,7 @@ describe('Test multiple servers', function () { | |||
967 | tags: [ ], | 967 | tags: [ ], |
968 | privacy: VideoPrivacy.PUBLIC, | 968 | privacy: VideoPrivacy.PUBLIC, |
969 | channel: { | 969 | channel: { |
970 | name: 'Default root channel', | 970 | name: 'Main root channel', |
971 | description: '', | 971 | description: '', |
972 | isLocal | 972 | isLocal |
973 | }, | 973 | }, |