Fix subscriptions tests
authorChocobozzz <me@florianbigard.com>
Fri, 10 Jan 2020 14:37:01 +0000 (15:37 +0100)
committerChocobozzz <me@florianbigard.com>
Fri, 10 Jan 2020 14:37:01 +0000 (15:37 +0100)
server/tests/api/users/user-subscriptions.ts

index c8a89d6be4653735f4f7514f504ef00128a53886..08017f89c25d203301a801d739f1c3cffb3f674e 100644 (file)
@@ -102,7 +102,7 @@ describe('Test users subscriptions', function () {
     }
 
     {
-      const res = await listUserSubscriptions(servers[0].url, users[0].accessToken)
+      const res = await listUserSubscriptions(servers[0].url, users[0].accessToken, 'createdAt')
       expect(res.body.total).to.equal(2)
 
       const subscriptions: VideoChannel[] = res.body.data