From 08c1efbe32244c321de28b0f2a6aaa3f99f46b58 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 26 Apr 2018 16:11:38 +0200 Subject: Add video channel management --- server/tests/api/videos/multiple-servers.ts | 2 +- server/tests/api/videos/video-channels.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'server/tests/api/videos') diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts index e462a2d47..94d627e26 100644 --- a/server/tests/api/videos/multiple-servers.ts +++ b/server/tests/api/videos/multiple-servers.ts @@ -59,7 +59,7 @@ describe('Test multiple servers', function () { { const videoChannel = { - name: 'my channel', + displayName: 'my channel', description: 'super channel' } await addVideoChannel(servers[ 0 ].url, servers[ 0 ].accessToken, videoChannel) diff --git a/server/tests/api/videos/video-channels.ts b/server/tests/api/videos/video-channels.ts index d24b8ab0b..585b6a2b5 100644 --- a/server/tests/api/videos/video-channels.ts +++ b/server/tests/api/videos/video-channels.ts @@ -59,7 +59,7 @@ describe('Test video channels', function () { this.timeout(10000) const videoChannel = { - name: 'second video channel', + displayName: 'second video channel', description: 'super video channel description', support: 'super video channel support text' } @@ -125,7 +125,7 @@ describe('Test video channels', function () { this.timeout(5000) const videoChannelAttributes = { - name: 'video channel updated', + displayName: 'video channel updated', description: 'video channel description updated', support: 'video channel support text updated' } -- cgit v1.2.3