aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/notifications/user-notifications.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-20 09:04:38 +0200
committerChocobozzz <me@florianbigard.com>2020-04-20 09:04:38 +0200
commit0dd57e4d43b06a70a45b77f2006f805f9a42116c (patch)
tree3710e623be565c6a8d4293fe6ed2c585968c53e8 /server/tests/api/notifications/user-notifications.ts
parent7a9f9c46261062fb7b718395a8f71c1b742764d4 (diff)
downloadPeerTube-0dd57e4d43b06a70a45b77f2006f805f9a42116c.tar.gz
PeerTube-0dd57e4d43b06a70a45b77f2006f805f9a42116c.tar.zst
PeerTube-0dd57e4d43b06a70a45b77f2006f805f9a42116c.zip
Fix tests
Diffstat (limited to 'server/tests/api/notifications/user-notifications.ts')
-rw-r--r--server/tests/api/notifications/user-notifications.ts19
1 files changed, 10 insertions, 9 deletions
diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts
index 625e344fa..3c9c7fe31 100644
--- a/server/tests/api/notifications/user-notifications.ts
+++ b/server/tests/api/notifications/user-notifications.ts
@@ -1024,15 +1024,16 @@ describe('Test users notifications', function () {
1024 await removeUserSubscription(servers[1].url, servers[1].accessToken, 'user_1_channel@localhost:' + servers[0].port) 1024 await removeUserSubscription(servers[1].url, servers[1].accessToken, 'user_1_channel@localhost:' + servers[0].port)
1025 }) 1025 })
1026 1026
1027 it('Should notify when a local account is following one of our channel', async function () { 1027 // PeerTube does not support accout -> account follows
1028 this.timeout(10000) 1028 // it('Should notify when a local account is following one of our channel', async function () {
1029 1029 // this.timeout(10000)
1030 await addUserSubscription(servers[0].url, servers[0].accessToken, 'user_1@localhost:' + servers[0].port) 1030 //
1031 1031 // await addUserSubscription(servers[0].url, servers[0].accessToken, 'user_1@localhost:' + servers[0].port)
1032 await waitJobs(servers) 1032 //
1033 1033 // await waitJobs(servers)
1034 await checkNewActorFollow(baseParams, 'account', 'root', 'super root name', myUserName, 'presence') 1034 //
1035 }) 1035 // await checkNewActorFollow(baseParams, 'account', 'root', 'super root name', myUserName, 'presence')
1036 // })
1036 1037
1037 it('Should notify when a remote account is following one of our channel', async function () { 1038 it('Should notify when a remote account is following one of our channel', async function () {
1038 this.timeout(10000) 1039 this.timeout(10000)