diff options
Diffstat (limited to 'server/tests/api/notifications')
-rw-r--r-- | server/tests/api/notifications/user-notifications.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts index a9315c818..1d159c48f 100644 --- a/server/tests/api/notifications/user-notifications.ts +++ b/server/tests/api/notifications/user-notifications.ts | |||
@@ -17,7 +17,6 @@ import { | |||
17 | ServerInfo, | 17 | ServerInfo, |
18 | updateMyUser, | 18 | updateMyUser, |
19 | updateVideo, | 19 | updateVideo, |
20 | updateVideoChannel, | ||
21 | uploadRandomVideoOnServers, | 20 | uploadRandomVideoOnServers, |
22 | wait, | 21 | wait, |
23 | waitJobs | 22 | waitJobs |
@@ -404,7 +403,11 @@ describe('Test user notifications', function () { | |||
404 | displayName: 'super root 2 name' | 403 | displayName: 'super root 2 name' |
405 | }) | 404 | }) |
406 | 405 | ||
407 | await updateVideoChannel(servers[0].url, userAccessToken, 'user_1_channel', { displayName: myChannelName }) | 406 | await servers[0].channelsCommand.update({ |
407 | token: userAccessToken, | ||
408 | channelName: 'user_1_channel', | ||
409 | attributes: { displayName: myChannelName } | ||
410 | }) | ||
408 | }) | 411 | }) |
409 | 412 | ||
410 | it('Should notify when a local channel is following one of our channel', async function () { | 413 | it('Should notify when a local channel is following one of our channel', async function () { |