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 () { } { - 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