aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-10 15:37:01 +0100
committerChocobozzz <me@florianbigard.com>2020-01-10 15:37:01 +0100
commitc25e8ce505b8e47532d3e703c923c15ac7c4574e (patch)
treeb0e53bd05734e63e221ee204e2ab6812986e396e /server/tests/api/users
parenta6f01388c3bab1ac03d6f1a2cd87331bad5127ce (diff)
downloadPeerTube-c25e8ce505b8e47532d3e703c923c15ac7c4574e.tar.gz
PeerTube-c25e8ce505b8e47532d3e703c923c15ac7c4574e.tar.zst
PeerTube-c25e8ce505b8e47532d3e703c923c15ac7c4574e.zip
Fix subscriptions tests
Diffstat (limited to 'server/tests/api/users')
-rw-r--r--server/tests/api/users/user-subscriptions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/users/user-subscriptions.ts b/server/tests/api/users/user-subscriptions.ts
index c8a89d6be..08017f89c 100644
--- a/server/tests/api/users/user-subscriptions.ts
+++ b/server/tests/api/users/user-subscriptions.ts
@@ -102,7 +102,7 @@ describe('Test users subscriptions', function () {
102 } 102 }
103 103
104 { 104 {
105 const res = await listUserSubscriptions(servers[0].url, users[0].accessToken) 105 const res = await listUserSubscriptions(servers[0].url, users[0].accessToken, 'createdAt')
106 expect(res.body.total).to.equal(2) 106 expect(res.body.total).to.equal(2)
107 107
108 const subscriptions: VideoChannel[] = res.body.data 108 const subscriptions: VideoChannel[] = res.body.data