aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/notifications
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-09 11:21:30 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:18 +0200
commita54618880c394ad7571f3f3222dc96ec2dd10d9a (patch)
treec9f7b05e578abc2383bccd707c11438c61857c72 /server/tests/api/notifications
parent57f879a540551c3b958b0991c8e1e3657a4481d8 (diff)
downloadPeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.tar.gz
PeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.tar.zst
PeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.zip
Introduce channels command
Diffstat (limited to 'server/tests/api/notifications')
-rw-r--r--server/tests/api/notifications/user-notifications.ts7
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 () {