From c25e8ce505b8e47532d3e703c923c15ac7c4574e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Jan 2020 15:37:01 +0100 Subject: [PATCH] Fix subscriptions tests --- server/tests/api/users/user-subscriptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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