diff options
Diffstat (limited to 'server/tests/api/users/user-subscriptions.ts')
-rw-r--r-- | server/tests/api/users/user-subscriptions.ts | 2 |
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 |