From: Chocobozzz Date: Fri, 10 Jan 2020 14:37:01 +0000 (+0100) Subject: Fix subscriptions tests X-Git-Tag: v2.1.0-rc.1~38 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c25e8ce505b8e47532d3e703c923c15ac7c4574e;p=oweals%2Fpeertube.git Fix subscriptions tests --- 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