aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/users')
-rw-r--r--server/tests/api/users/users.ts4
1 files changed, 2 insertions, 2 deletions
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 {
11 getUserInformation, 11 getUserInformation,
12 getUsersList, 12 getUsersList,
13 getUsersListPaginationAndSort, 13 getUsersListPaginationAndSort,
14 getUserVideoRating, 14 getMyUserVideoRating,
15 getVideosList, 15 getVideosList,
16 killallServers, 16 killallServers,
17 login, 17 login,
@@ -130,7 +130,7 @@ describe('Test users', function () {
130 130
131 it('Should retrieve a video rating', async function () { 131 it('Should retrieve a video rating', async function () {
132 await rateVideo(server.url, accessToken, videoId, 'like') 132 await rateVideo(server.url, accessToken, videoId, 'like')
133 const res = await getUserVideoRating(server.url, accessToken, videoId) 133 const res = await getMyUserVideoRating(server.url, accessToken, videoId)
134 const rating = res.body 134 const rating = res.body
135 135
136 expect(rating.videoId) 136 expect(rating.videoId)