From 26d21b7867c225d99e0625af51da4643e351d86d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 28 Dec 2017 15:25:31 +0100 Subject: Improve check users parameters tests --- server/tests/api/users/users.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/api/users') diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts index 298dbce2c..ec164cadc 100644 --- a/server/tests/api/users/users.ts +++ b/server/tests/api/users/users.ts @@ -11,7 +11,7 @@ import { getUserInformation, getUsersList, getUsersListPaginationAndSort, - getUserVideoRating, + getMyUserVideoRating, getVideosList, killallServers, login, @@ -130,7 +130,7 @@ describe('Test users', function () { it('Should retrieve a video rating', async function () { await rateVideo(server.url, accessToken, videoId, 'like') - const res = await getUserVideoRating(server.url, accessToken, videoId) + const res = await getMyUserVideoRating(server.url, accessToken, videoId) const rating = res.body expect(rating.videoId) -- cgit v1.2.3