diff options
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r-- | server/tests/client.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts index 129f1e1c0..1bdb2eb64 100644 --- a/server/tests/client.ts +++ b/server/tests/client.ts | |||
@@ -16,7 +16,6 @@ import { | |||
16 | setAccessTokensToServers, | 16 | setAccessTokensToServers, |
17 | setDefaultVideoChannel, | 17 | setDefaultVideoChannel, |
18 | updateMyUser, | 18 | updateMyUser, |
19 | updateVideoChannel, | ||
20 | uploadVideo, | 19 | uploadVideo, |
21 | waitJobs | 20 | waitJobs |
22 | } from '../../shared/extra-utils' | 21 | } from '../../shared/extra-utils' |
@@ -63,7 +62,10 @@ describe('Test a client controllers', function () { | |||
63 | 62 | ||
64 | await setDefaultVideoChannel(servers) | 63 | await setDefaultVideoChannel(servers) |
65 | 64 | ||
66 | await updateVideoChannel(servers[0].url, servers[0].accessToken, servers[0].videoChannel.name, { description: channelDescription }) | 65 | await servers[0].channelsCommand.update({ |
66 | channelName: servers[0].videoChannel.name, | ||
67 | attributes: { description: channelDescription } | ||
68 | }) | ||
67 | 69 | ||
68 | // Video | 70 | // Video |
69 | 71 | ||